Skip to content

Commit

Permalink
fix: rectification du tri alphabétique #594
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrousseau1 committed Feb 17, 2025
1 parent 48a35c1 commit 36f3517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/entrepot/pages/service/metadata/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const Description: FC<DescriptionProps> = ({ visible, form, editMode }) => {
<AutocompleteSelect
label={t("metadata.description_form.category")}
hintText={t("metadata.description_form.hint_category")}
options={Object.values(categories).sort()}
options={Object.values(categories).sort((a, b) => a.localeCompare(b))}
searchFilter={{ limit: 40 }}
state={errors.category ? "error" : "default"}
stateRelatedMessage={errors?.category?.message?.toString()}
Expand Down

0 comments on commit 36f3517

Please sign in to comment.