From f69aa300b420a08e536434cfbe5ea816d525200c Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Mon, 17 Jun 2024 16:47:46 +0530 Subject: [PATCH] Move User/Roles nav items under Settings. --- frontend/src/components/Navigation.vue | 15 +++++---------- frontend/src/router/index.js | 8 ++++---- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/Navigation.vue b/frontend/src/components/Navigation.vue index 54572476..f6546be6 100644 --- a/frontend/src/components/Navigation.vue +++ b/frontend/src/components/Navigation.vue @@ -42,24 +42,19 @@ :label="$t('globals.terms.analytics')" /> - - - - - + + + data-cy="logs" icon="format-list-bulleted-square" :label="$t('menu.logs')" /> diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 4e576917..f28d378f 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -114,15 +114,15 @@ const routes = [ component: () => import('../views/Logs.vue'), }, { - path: '/users', + path: '/settings/users', name: 'users', - meta: { title: 'globals.terms.users', group: 'users' }, + meta: { title: 'globals.terms.users', group: 'settings' }, component: () => import('../views/Users.vue'), }, { - path: '/users/roles', + path: '/settings/users/roles', name: 'roles', - meta: { title: 'users.roles', group: 'users' }, + meta: { title: 'users.roles', group: 'settings' }, component: () => import('../views/Roles.vue'), }, {