Add `:groupId` to router
This commit is contained in:
parent
13ede288f9
commit
1d3f1306b6
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc-rc.4",
|
"version": "12.119.0-calc-rc.5",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -97,6 +97,11 @@ export const navbarItemDef = reactive({
|
||||||
icon: 'fas fa-satellite-dish',
|
icon: 'fas fa-satellite-dish',
|
||||||
to: '/channels',
|
to: '/channels',
|
||||||
},
|
},
|
||||||
|
groups: {
|
||||||
|
title: 'groups',
|
||||||
|
icon: 'fas fa-users',
|
||||||
|
to: '/my/groups',
|
||||||
|
},
|
||||||
ui: {
|
ui: {
|
||||||
title: 'switchUi',
|
title: 'switchUi',
|
||||||
icon: 'fas fa-columns',
|
icon: 'fas fa-columns',
|
||||||
|
|
|
@ -456,6 +456,10 @@ export const routes = [{
|
||||||
path: '/my/groups',
|
path: '/my/groups',
|
||||||
component: page(() => import('./pages/my-groups/index.vue')),
|
component: page(() => import('./pages/my-groups/index.vue')),
|
||||||
loginRequired: true,
|
loginRequired: true,
|
||||||
|
}, {
|
||||||
|
path: '/my/groups/:groupId',
|
||||||
|
component: page(() => import('./pages/my-groups/index.vue')),
|
||||||
|
loginRequired: true,
|
||||||
}, {
|
}, {
|
||||||
path: '/my/antennas/create',
|
path: '/my/antennas/create',
|
||||||
component: page(() => import('./pages/my-antennas/create.vue')),
|
component: page(() => import('./pages/my-antennas/create.vue')),
|
||||||
|
|
Loading…
Reference in New Issue