From 00db70764d9d50d8fd11bd74349491865a05d2dd Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Wed, 9 Feb 2022 22:04:55 +0100 Subject: [PATCH] Update app/src/router/routes.js Co-authored-by: Axolotle --- app/src/router/routes.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/app/src/router/routes.js b/app/src/router/routes.js index 2e404e34..4253307d 100644 --- a/app/src/router/routes.js +++ b/app/src/router/routes.js @@ -375,13 +375,21 @@ const routes = [ } }, { - name: 'tool-settings', path: '/tools/settings', component: () => import(/* webpackChunkName: "views/tools/settings" */ '@/views/tool/ToolSettings'), - meta: { - args: { trad: 'tools_yunohost_settings' }, - breadcrumb: ['tool-list', 'tool-settings'] - } + children: [ + { + name: 'tool-settings', + path: ':tabId?', + component: () => import(/* webpackChunkName: "components/configPanel" */ '@/components/ConfigPanel'), + props: true, + meta: { + routerParams: [], + args: { trad: 'tools_yunohost_settings' }, + breadcrumb: ['tool-list', 'tool-settings'] + } + } + ] }, { name: 'tool-power',