From d6a7c4de339bebfea67aca1ee543caa62b7c4f75 Mon Sep 17 00:00:00 2001 From: Eline Evje <elineev@stud.ntnu.no> Date: Thu, 25 Apr 2024 16:21:19 +0200 Subject: [PATCH] fix: made navbar be not visible on config --- src/App.vue | 3 ++- src/router/index.ts | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 0236374..ebff79b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,7 +10,8 @@ const showNavBar = computed(() => { route.path == '/' || route.path == '/registrer' || route.path == '/logginn' || - route.path == '/forgotPassword' + route.path == '/forgotPassword' || + route.path.startsWith('/konfigurasjon') ) }) </script> diff --git a/src/router/index.ts b/src/router/index.ts index d30507b..21f0839 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -88,6 +88,11 @@ const router = createRouter({ name: 'configurations5', component: () => import('@/views/ConfigSpendingItemsTotalAmountView.vue') }, + { + path: '/konfigurasjonSteg6', + name: 'configurations6', + component: () => import('@/views/ConfigAccountNumberView.vue') + }, { path: '/forsteSparemaal', name: 'firstSavingGoal', -- GitLab