From 166073fb55759025fcebd121ba19122ccd9c5ab2 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 22 Dec 2021 01:09:39 +0100 Subject: [PATCH] fix(ui): Fix routes, requests should have more priority than settings --- src/routes/index.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/routes/index.ts b/src/routes/index.ts index b516cd8..b112918 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -22,6 +22,16 @@ export const innerRoutes: FG_Plugin.MenuRoute[] = [ component: () => import('../pages/EventOverview.vue'), }, }, + { + title: 'Dienstanfragen', + icon: 'mdi-account-switch', + shortcut: false, + route: { + path: 'events-requests', + name: 'events-requests', + component: () => import('../pages/EventRequests.vue'), + }, + }, { title: 'Dienstverwaltung', icon: 'mdi-account-details', @@ -34,16 +44,6 @@ export const innerRoutes: FG_Plugin.MenuRoute[] = [ props: (route) => ({ date: route.query.date }), }, }, - { - title: 'Dienstanfragen', - icon: 'mdi-account-switch', - shortcut: false, - route: { - path: 'events-requests', - name: 'events-requests', - component: () => import('../pages/EventRequests.vue'), - }, - }, ], }, ];