Skip to content

Commit

Permalink
feat: もっとにカスタム絵文字の管理含める
Browse files Browse the repository at this point in the history
  • Loading branch information
n1lsqn committed Jan 21, 2024
1 parent 1cb8510 commit e306c89
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/frontend/src/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down Expand Up @@ -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',
},
});

0 comments on commit e306c89

Please sign in to comment.