Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalmasrna1 committed Nov 23, 2024
1 parent 3acd900 commit 6c6861e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export const ProfileCreate: FC = () => (
<SimpleForm>
<TextInput source="first_name" label="Meno" validate={required()} />
<TextInput source="last_name" label="Priezvisko" validate={required()} />
<ReferenceInput source="school" reference="personal/schools" >
<AutocompleteInput optionText="verbose_name" fullWidth validate={required()} label='Škola' />
<ReferenceInput source="school" reference="personal/schools">
<AutocompleteInput optionText="verbose_name" fullWidth validate={required()} label="Škola" />
</ReferenceInput>
<ReferenceInput source="grade" reference="competition/grade" >
<AutocompleteInput optionText="name" fullWidth validate={required()} label='Ročník' />
<ReferenceInput source="grade" reference="competition/grade">
<AutocompleteInput optionText="name" fullWidth validate={required()} label="Ročník" />
</ReferenceInput>
</SimpleForm>
</MyCreate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const ProfileList: FC = () => (
<TextField source="first_name" label="Meno" />
<TextField source="last_name" label="Priezvisko" />
<TextField source="school.verbose_name" label="Škola" />
<ReferenceField source="grade" reference="competition/grade" label="Ročník" >
<ReferenceField source="grade" reference="competition/grade" label="Ročník">
<TextField source="tag" />
</ReferenceField>
</Datagrid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const ProfileShow: FC = () => (
<TextField source="first_name" label="Meno" />
<TextField source="last_name" label="Priezvisko" />
<TextField source="school.verbose_name" label="Škola" />
<ReferenceField source="grade" reference="competition/grade" label="Ročník" >
<ReferenceField source="grade" reference="competition/grade" label="Ročník">
<TextField source="tag" />
</ReferenceField>
</SimpleShowLayout>
Expand Down

0 comments on commit 6c6861e

Please sign in to comment.