Skip to content

Commit

Permalink
Fixes gap in year format
Browse files Browse the repository at this point in the history
  • Loading branch information
Smilinko committed Dec 10, 2023
1 parent 3b407a6 commit ce6b982
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 ce6b982

Please sign in to comment.