slight changes to Profile.vue to display role, groups, etc.
This commit is contained in:
@@ -8,6 +8,7 @@ import Login from '@/components/Login.vue';
|
||||
import Admin from '@/components/Admin.vue';
|
||||
import Profile from '@/components/Profile.vue';
|
||||
import User from '@/components/User.vue';
|
||||
import Test from '@/components/Test.vue';
|
||||
import Group from '@/components/Group.vue';
|
||||
import Rooms from '@/components/Rooms.vue';
|
||||
import Recorders from '@/components/Recorders.vue';
|
||||
@@ -67,6 +68,10 @@ export const router = new Router({
|
||||
path: '/recorders',
|
||||
name: 'recorders',
|
||||
component: Recorders,
|
||||
}, {
|
||||
path: '/test',
|
||||
name: 'test',
|
||||
component: Test,
|
||||
}, {
|
||||
path: '/commands',
|
||||
name: 'commands',
|
||||
@@ -84,7 +89,7 @@ export const router = new Router({
|
||||
},
|
||||
}, {
|
||||
path: '/profile',
|
||||
name: 'Profile',
|
||||
name: 'profile',
|
||||
component: Profile,
|
||||
beforeEnter(to, from, next) {
|
||||
if (!store.getters.isAuthenticated) {
|
||||
|
||||
Reference in New Issue
Block a user