Update app/src/router/routes.js

Co-authored-by: Axolotle <nchesnais@mailoo.org>
This commit is contained in:
Tagada 2022-02-09 22:04:55 +01:00 committed by Tagadda
parent 94da3526d7
commit 00db70764d

View file

@ -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',