Skip to content

Commit 3b96916

Browse files
committed
[Router] Fix issue
1 parent 0decfae commit 3b96916

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/ts/router/routes.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,18 @@ export const routes = [
9696
},
9797
'children': [
9898
{
99-
'path': 'surveys',
99+
'path': '',
100100
'name': 'admin-home',
101+
'component': () => import( '@/components/admin-new/surveys/SurveyNoneSelected.vue' ),
102+
'meta': {
103+
'title': 'Admin',
104+
'authRequired': true,
105+
'allowedRoles': [ 'ROLE_SURVEY_ADMIN' ]
106+
}
107+
},
108+
{
109+
'path': 'surveys',
110+
'name': 'admin-surveys',
101111
'component': () => import( '@/components/admin-new/SurveyManager.vue' ),
102112
'meta': {
103113
'title': 'Admin',

0 commit comments

Comments
 (0)