parent
5979a3f8d9
commit
b71e5cf2fb
2 changed files with 5 additions and 1 deletions
|
@ -307,6 +307,10 @@ export const routes = [{
|
||||||
}, {
|
}, {
|
||||||
path: '/channels',
|
path: '/channels',
|
||||||
component: page(() => import('./pages/channels.vue')),
|
component: page(() => import('./pages/channels.vue')),
|
||||||
|
}, {
|
||||||
|
path: '/avatar-decorations',
|
||||||
|
name: 'avatarDecorations',
|
||||||
|
component: page(() => import('./pages/avatar-decorations.vue')),
|
||||||
}, {
|
}, {
|
||||||
path: '/custom-emojis-manager',
|
path: '/custom-emojis-manager',
|
||||||
component: page(() => import('./pages/custom-emojis-manager.vue')),
|
component: page(() => import('./pages/custom-emojis-manager.vue')),
|
||||||
|
|
|
@ -34,7 +34,7 @@ function toolsMenuItems(): MenuItem[] {
|
||||||
icon: 'ph-smiley ph-bold ph-lg',
|
icon: 'ph-smiley ph-bold ph-lg',
|
||||||
} : undefined, ($i && ($i.isAdmin || $i.policies.canManageAvatarDecorations)) ? {
|
} : undefined, ($i && ($i.isAdmin || $i.policies.canManageAvatarDecorations)) ? {
|
||||||
type: 'link',
|
type: 'link',
|
||||||
to: '/admin/avatar-decorations',
|
to: '/avatar-decorations',
|
||||||
text: i18n.ts.manageAvatarDecorations,
|
text: i18n.ts.manageAvatarDecorations,
|
||||||
icon: 'ph-sparkle ph-bold ph-lg',
|
icon: 'ph-sparkle ph-bold ph-lg',
|
||||||
} : undefined];
|
} : undefined];
|
||||||
|
|
Loading…
Reference in a new issue