diff --git a/src/lang/en.js b/src/lang/en.js index 8088e441..fd23f379 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -312,7 +312,8 @@ export default { rateLimiters: 'Rate limiters', database: 'Database', other: 'Other', - success: 'Settings changed successfully!' + success: 'Settings changed successfully!', + emojiPacks: 'Emoji packs' }, invites: { inviteTokens: 'Invite tokens', diff --git a/src/router/index.js b/src/router/index.js index a5c496cc..53dbf8ec 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -63,20 +63,6 @@ const moderationLog = { ] } -const emojiPacksDisabled = disabledFeatures.includes('emoji-packs') -const emojiPacks = { - path: '/emoji-packs', - component: Layout, - children: [ - { - path: 'index', - component: () => import('@/views/emoji-packs/index'), - name: 'Emoji packs', - meta: { title: 'emoji-packs', icon: 'settings', noCache: true } - } - ] -} - export const constantRouterMap = [ { path: '/redirect', @@ -144,7 +130,6 @@ export const asyncRouterMap = [ ...(invitesDisabled ? [] : [invites]), ...(moderationLogDisabled ? [] : [moderationLog]), ...(settingsDisabled ? [] : [settings]), - ...(emojiPacksDisabled ? [] : [emojiPacks]), { path: '/users/:id', component: Layout, diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue index 79ae7727..5e0c482b 100644 --- a/src/views/settings/index.vue +++ b/src/views/settings/index.vue @@ -23,6 +23,9 @@ + + + @@ -71,9 +74,10 @@