refactor: move /admin into vue component (#3466)
This commit is contained in:
@@ -139,15 +139,6 @@ const routes = [
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/admin',
|
||||
name: 'Admin',
|
||||
component: DynamicComponent,
|
||||
props: {
|
||||
fetchUrl: '/admin',
|
||||
scripts: ['/static/js/admin.js']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/extensions',
|
||||
name: 'Extensions',
|
||||
@@ -204,6 +195,11 @@ const routes = [
|
||||
path: '/users',
|
||||
name: 'Users',
|
||||
component: PageUsers
|
||||
},
|
||||
{
|
||||
path: '/admin',
|
||||
name: 'Admin',
|
||||
component: PageAdmin
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user