forked from naskya/firefish
fix: moderators being unable to access emoji management page
This commit is contained in:
parent
d12b7cb941
commit
01a1a58fa3
1 changed files with 4 additions and 3 deletions
|
@ -424,7 +424,8 @@ export const routes = [
|
||||||
{
|
{
|
||||||
path: "/admin/emojis",
|
path: "/admin/emojis",
|
||||||
name: "emojis",
|
name: "emojis",
|
||||||
component: isEmojiMod
|
component:
|
||||||
|
isModerator || isEmojiMod
|
||||||
? page(() => import("./pages/admin/emojis.vue"))
|
? page(() => import("./pages/admin/emojis.vue"))
|
||||||
: page(() => import("./pages/not-found.vue")),
|
: page(() => import("./pages/not-found.vue")),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue