Add `:groupId` to router

This commit is contained in:
ThatOneCalculator 2022-09-13 16:53:34 -07:00
parent 13ede288f9
commit 1d3f1306b6
3 changed files with 10 additions and 1 deletions

View File

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

View File

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

View File

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