diff --git a/resources/ts/back/Components/Layout/AppSidebar.tsx b/resources/ts/back/Components/Layout/AppSidebar.tsx index 593e836c..ca0362cb 100644 --- a/resources/ts/back/Components/Layout/AppSidebar.tsx +++ b/resources/ts/back/Components/Layout/AppSidebar.tsx @@ -100,20 +100,6 @@ export default function AppSidebar() { show: true, icon: SquareArrowOutUpRightIcon, }, - { - title: str(useTrans("models.classes.contact-count")) - .ucFirst() - .value(), - model: "contact-counts", - icon: ContactIcon, - show: auth.policies.contact_counts.viewAny, - }, - ], - }, - { - title: useTrans("back.modules"), - show: authPolicies.dynamicPages.viewAny || authPolicies.pageConfigs.viewAny, - links: [ { title: str(useTrans("models.classes.dynamic-page", { choice: 2 })).ucFirst().value(), model: "dynamic-pages", @@ -138,6 +124,12 @@ export default function AppSidebar() { ] }) }, + ], + }, + { + title: useTrans("back.modules"), + show: authPolicies.dynamicPages.viewAny || authPolicies.pageConfigs.viewAny, + links: [ { title: str(useTrans("models.classes.news", { choice: 2 })) .ucFirst() @@ -164,6 +156,14 @@ export default function AppSidebar() { ] }) }, + { + title: str(useTrans("models.classes.contact-count")) + .ucFirst() + .value(), + model: "contact-counts", + icon: ContactIcon, + show: auth.policies.contact_counts.viewAny, + }, ], }, {