diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-08-13 21:02:25 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-08-13 21:02:25 +0900 |
| commit | bbef2a953ebf2f7f063641e6764ec8571cd78b75 (patch) | |
| tree | b2fc17e8c413c3a92a5d5e619eea5a0ee79336ec /packages/frontend/src/router.ts | |
| parent | fix(frontend): fix style of _error_.vue (diff) | |
| download | misskey-bbef2a953ebf2f7f063641e6764ec8571cd78b75.tar.gz misskey-bbef2a953ebf2f7f063641e6764ec8571cd78b75.tar.bz2 misskey-bbef2a953ebf2f7f063641e6764ec8571cd78b75.zip | |
enhance(frontend): tweak user moderation page
Diffstat (limited to 'packages/frontend/src/router.ts')
| -rw-r--r-- | packages/frontend/src/router.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index 0876e533d0..2e4494814a 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -43,10 +43,6 @@ export const routes = [{ path: '/clips/:clipId', component: page(() => import('./pages/clip.vue')), }, { - path: '/user-info/:userId', - component: page(() => import('./pages/user-info.vue')), - hash: 'initialTab', -}, { path: '/instance-info/:host', component: page(() => import('./pages/instance-info.vue')), }, { @@ -335,6 +331,9 @@ export const routes = [{ path: '/registry', component: page(() => import('./pages/registry.vue')), }, { + path: '/admin/user/:userId', + component: iAmModerator ? page(() => import('./pages/admin-user.vue')) : page(() => import('./pages/not-found.vue')), +}, { path: '/admin/file/:fileId', component: iAmModerator ? page(() => import('./pages/admin-file.vue')) : page(() => import('./pages/not-found.vue')), }, { |