diff --git a/packages/frontend/src/pages/about.emojis.vue b/packages/frontend/src/pages/about.emojis.vue index 84469e102c..992dc718e6 100644 --- a/packages/frontend/src/pages/about.emojis.vue +++ b/packages/frontend/src/pages/about.emojis.vue @@ -29,8 +29,8 @@ SPDX-License-Identifier: AGPL-3.0-only - - + +
@@ -68,7 +68,11 @@ const headerTabs = $computed(() => [{ key: 'draft', title: i18n.ts.draftEmojis, }]); - +const filteredCategories = computed(() => { + return customEmojiCategories.value.filter((category: any) => { + return customEmojis.value.some((e: any) => e.category === category && !e.draft); + }); +}); definePageMetadata(ref({})); const pagination = { diff --git a/packages/frontend/src/pages/emojis.emoji.vue b/packages/frontend/src/pages/emojis.emoji.vue index f1b563a90d..5926bc365e 100644 --- a/packages/frontend/src/pages/emojis.emoji.vue +++ b/packages/frontend/src/pages/emojis.emoji.vue @@ -5,9 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only