Skip to content

Commit

Permalink
Competition year format without spaces (#300)
Browse files Browse the repository at this point in the history
Fixes gap in year format
  • Loading branch information
Smilinko authored Dec 10, 2023
1 parent 02685a7 commit 12a088a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const CompetitionList: FC = () => (
<Datagrid rowClick="show">
<TextField source="name" />
<TextField source="slug" />
<NumberField source="start_year" />
<TextField source="start_year" />
<TruncatedTextField source="description" maxTextWidth={30} />
<TruncatedTextField source="rules" maxTextWidth={30} />
<TextField source="competition_type.name" label="Competition type" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const CompetitionShow: FC = () => (
<SimpleShowLayout>
<TextField source="name" />
<TextField source="slug" />
<NumberField source="start_year" />
<TextField source="start_year" />
<TruncatedTextField source="description" maxTextWidth={100} expandable />
<TruncatedTextField source="rules" maxTextWidth={200} expandable />
<TextField source="competition_type.name" label="Competition type" />
Expand Down

0 comments on commit 12a088a

Please sign in to comment.