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",
"version": "12.119.0-calc-rc.4",
"version": "12.119.0-calc-rc.5",
"codename": "aqua",
"repository": {
"type": "git",

View file

@ -97,6 +97,11 @@ export const navbarItemDef = reactive({
icon: 'fas fa-satellite-dish',
to: '/channels',
},
groups: {
title: 'groups',
icon: 'fas fa-users',
to: '/my/groups',
},
ui: {
title: 'switchUi',
icon: 'fas fa-columns',

View file

@ -456,6 +456,10 @@ export const routes = [{
path: '/my/groups',
component: page(() => import('./pages/my-groups/index.vue')),
loginRequired: true,
}, {
path: '/my/groups/:groupId',
component: page(() => import('./pages/my-groups/index.vue')),
loginRequired: true,
}, {
path: '/my/antennas/create',
component: page(() => import('./pages/my-antennas/create.vue')),