Skip to content

Commit

Permalink
refactor: change type sort by type-name in dataTableComposition
Browse files Browse the repository at this point in the history
* fix: adapt documentReference params type to type-name

* refactor: change type sort by type-name in dataTableComposition

* refactor: change type sort by type-name in dataTableComposition
  • Loading branch information
Mehdi-BOUYAHIA authored Oct 24, 2023
1 parent 67c1c9d commit 2328b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataTable/DataTableComposition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const DataTableComposition: React.FC<DataTableCompositionProps> = ({
sortableColumn: false
},
{ label: 'Unité exécutrice', code: '', align: 'center', sortableColumn: false },
{ label: 'Type de document', code: 'type', align: 'center', sortableColumn: true },
{ label: 'Type de document', code: 'type-name', align: 'center', sortableColumn: true },
{ label: 'Aperçu', code: '', align: 'center', sortableColumn: false }
].filter((elem) => elem !== null) as Column[]

Expand Down

0 comments on commit 2328b3a

Please sign in to comment.