From d03f1516aefd981dc2765e1a10ea60e656366a91 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Thu, 28 Nov 2024 18:22:53 +1300 Subject: [PATCH] move routes in route list --- src/main.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main.js b/src/main.js index 818b476..b5e6479 100644 --- a/src/main.js +++ b/src/main.js @@ -43,6 +43,18 @@ const router = createRouter({ props: true, component: () => import("./components/pages/NodeMessagesPage.vue"), }, + { + name: "node.settings", + path: '/nodes/:nodeId/settings', + props: true, + component: () => import("./components/pages/settings/NodeSettingsPage.vue"), + }, + { + name: "node.settings.user", + path: '/nodes/:nodeId/settings/user', + props: true, + component: () => import("./components/pages/settings/NodeUserSettingsPage.vue"), + }, { name: "node.traceroutes", path: '/nodes/:nodeId/traceroutes', @@ -61,18 +73,6 @@ const router = createRouter({ props: true, component: () => import("./components/pages/TraceRoutePage.vue"), }, - { - name: "node.settings", - path: '/nodes/:nodeId/settings', - props: true, - component: () => import("./components/pages/settings/NodeSettingsPage.vue"), - }, - { - name: "node.settings.user", - path: '/nodes/:nodeId/settings/user', - props: true, - component: () => import("./components/pages/settings/NodeUserSettingsPage.vue"), - }, ], });