Skip to content

Commit

Permalink
feat(admin):reorder filters in certificator side menu
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreavizou committed Dec 17, 2024
1 parent 80d9b4e commit c2bc950
Showing 1 changed file with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,22 +194,6 @@ const CandidaciesLayout = ({ children }: { children: ReactNode }) => {
path: "/candidacies/feasibilities",
category: "ADMISSIBLE",
}),
// menuItem({
// text: `Dossiers non recevables (${feasibilityCountByCategory?.REJECTED || 0})`,
// path: "/candidacies/feasibilities",
// category: "REJECTED",
// }),

// menuItem({
// text: `Dossiers supprimés (${feasibilityCountByCategory?.ARCHIVED || 0})`,
// path: "/candidacies/feasibilities",
// category: "ARCHIVED",
// }),
// menuItem({
// text: `Dossiers abandonnés (${feasibilityCountByCategory?.DROPPED_OUT || 0})`,
// path: "/candidacies/feasibilities",
// category: "DROPPED_OUT",
// }),
];

const dossierDeValidationItems = [
Expand Down Expand Up @@ -274,16 +258,15 @@ const CandidaciesLayout = ({ children }: { children: ReactNode }) => {
path: "/candidacies/feasibilities",
category: "REJECTED",
}),

menuItem({
text: `Dossiers supprimés (${feasibilityCountByCategory?.ARCHIVED || 0})`,
text: `Dossiers abandonnés (${feasibilityCountByCategory?.DROPPED_OUT || 0})`,
path: "/candidacies/feasibilities",
category: "ARCHIVED",
category: "DROPPED_OUT",
}),
menuItem({
text: `Dossiers abandonnés (${feasibilityCountByCategory?.DROPPED_OUT || 0})`,
text: `Dossiers supprimés (${feasibilityCountByCategory?.ARCHIVED || 0})`,
path: "/candidacies/feasibilities",
category: "DROPPED_OUT",
category: "ARCHIVED",
}),
];

Expand Down

0 comments on commit c2bc950

Please sign in to comment.