Skip to content
Snippets Groups Projects
Commit b71e5cf2 authored by Marie's avatar Marie
Browse files

fix: avatar decoration role not working

Closes #150
parent 5979a3f8
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,10 @@ export const routes = [{
}, {
path: '/channels',
component: page(() => import('./pages/channels.vue')),
}, {
path: '/avatar-decorations',
name: 'avatarDecorations',
component: page(() => import('./pages/avatar-decorations.vue')),
}, {
path: '/custom-emojis-manager',
component: page(() => import('./pages/custom-emojis-manager.vue')),
......
......@@ -34,7 +34,7 @@ function toolsMenuItems(): MenuItem[] {
icon: 'ph-smiley ph-bold ph-lg',
} : undefined, ($i && ($i.isAdmin || $i.policies.canManageAvatarDecorations)) ? {
type: 'link',
to: '/admin/avatar-decorations',
to: '/avatar-decorations',
text: i18n.ts.manageAvatarDecorations,
icon: 'ph-sparkle ph-bold ph-lg',
} : undefined];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment