1
0
Fork 1
mirror of https://example.com synced 2024-11-22 11:26:38 +09:00

fix: moderators being unable to access emoji management page

This commit is contained in:
naskya 2024-01-06 00:03:10 +09:00
parent d12b7cb941
commit 01a1a58fa3
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -424,9 +424,10 @@ export const routes = [
{
path: "/admin/emojis",
name: "emojis",
component: isEmojiMod
? page(() => import("./pages/admin/emojis.vue"))
: page(() => import("./pages/not-found.vue")),
component:
isModerator || isEmojiMod
? page(() => import("./pages/admin/emojis.vue"))
: page(() => import("./pages/not-found.vue")),
},
{
path: "/admin",