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,9 +424,10 @@ export const routes = [
|
||||||
{
|
{
|
||||||
path: "/admin/emojis",
|
path: "/admin/emojis",
|
||||||
name: "emojis",
|
name: "emojis",
|
||||||
component: isEmojiMod
|
component:
|
||||||
? page(() => import("./pages/admin/emojis.vue"))
|
isModerator || isEmojiMod
|
||||||
: page(() => import("./pages/not-found.vue")),
|
? page(() => import("./pages/admin/emojis.vue"))
|
||||||
|
: page(() => import("./pages/not-found.vue")),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/admin",
|
path: "/admin",
|
||||||
|
|
Loading…
Reference in a new issue