diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index a42e9809e..4ada8f9a4 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -133,7 +133,7 @@ const menuDef = $computed(() => [{ }, { icon: 'ph-sparkle ph-bold ph-lg', text: i18n.ts.avatarDecorations, - to: '/avatar-decorations', + to: '/admin/avatar-decorations', active: currentPage?.route.name === 'avatarDecorations', }, { icon: 'ph-globe-hemisphere-west ph-bold ph-lg', diff --git a/packages/frontend/src/router.ts b/packages/frontend/src/router.ts index 1a547e984..00d7ceac3 100644 --- a/packages/frontend/src/router.ts +++ b/packages/frontend/src/router.ts @@ -313,10 +313,6 @@ export const routes = [{ }, { path: '/custom-emojis-manager', component: page(() => import('./pages/custom-emojis-manager.vue')), -}, { - path: '/avatar-decorations', - name: 'avatarDecorations', - component: page(() => import('./pages/avatar-decorations.vue')), }, { path: '/registry/keys/system/:path(*)?', component: page(() => import('./pages/registry.keys.vue')), diff --git a/packages/frontend/src/ui/_common_/common.ts b/packages/frontend/src/ui/_common_/common.ts index a3a2eb14b..72ad8a732 100644 --- a/packages/frontend/src/ui/_common_/common.ts +++ b/packages/frontend/src/ui/_common_/common.ts @@ -33,7 +33,7 @@ function toolsMenuItems(): MenuItem[] { icon: 'ph-smiley ph-bold pg-lg', } : undefined, ($i && ($i.isAdmin || $i.policies.canManageAvatarDecorations)) ? { type: 'link', - to: '/avatar-decorations', + to: '/admin/avatar-decorations', text: i18n.ts.manageAvatarDecorations, icon: 'ph-sparkle ph-bold pg-lg', } : undefined];