This commit is contained in:
syuilo 2023-01-13 08:16:45 +09:00
parent b2117ba3a1
commit 6bdccea26b

View file

@ -96,6 +96,11 @@ const menuDef = $computed(() => [{
text: i18n.ts.users, text: i18n.ts.users,
to: '/admin/users', to: '/admin/users',
active: currentPage?.route.name === 'users', active: currentPage?.route.name === 'users',
}, {
icon: 'ti ti-badges',
text: i18n.ts.roles,
to: '/admin/roles',
active: currentPage?.route.name === 'roles',
}, { }, {
icon: 'ti ti-icons', icon: 'ti ti-icons',
text: i18n.ts.customEmojis, text: i18n.ts.customEmojis,
@ -131,11 +136,6 @@ const menuDef = $computed(() => [{
text: i18n.ts.abuseReports, text: i18n.ts.abuseReports,
to: '/admin/abuses', to: '/admin/abuses',
active: currentPage?.route.name === 'abuses', active: currentPage?.route.name === 'abuses',
}, {
icon: 'ti ti-badges',
text: i18n.ts.roles,
to: '/admin/roles',
active: currentPage?.route.name === 'roles',
}], }],
}, { }, {
title: i18n.ts.settings, title: i18n.ts.settings,