diff --git a/packages/frontend/src/navbar.ts b/packages/frontend/src/navbar.ts index 7d5a7f16d24c..9d287205f228 100644 --- a/packages/frontend/src/navbar.ts +++ b/packages/frontend/src/navbar.ts @@ -108,6 +108,7 @@ export const navbarItemDef = reactive({ }, channels: { title: i18n.ts.channel, + show: computed(() => $i != null && ($i.isAdmin || $i.policies.canUseChannel)), icon: 'ti ti-device-tv', to: '/channels', }, @@ -189,4 +190,10 @@ export const navbarItemDef = reactive({ icon: 'ti ti-cookie', to: '/clicker', }, + manageCustomEmojis: { + title: i18n.ts.manageCustomEmojis, + icon: 'ti ti-icons', + show: computed(() => $i != null && ($i.isAdmin || $i.policies.canManageCustomEmojis)), + to: '/custom-emojis-manager', + }, });