diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index 4d9bd29d37..9533463591 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -77,7 +77,7 @@ SPDX-License-Identifier: AGPL-3.0-only v-for="category in groupedData" :key="`custom:${category}`" :initialShown="false" - :emojis="computed(() => customEmojis.filter(filterAvailable))" + :emojis="computed(() => customEmojis.filter(emoji => !emoji.draft).filter(filterAvailable))" :category="category" @chosen="chosen" /> @@ -181,7 +181,7 @@ watch(q, () => { const searchCustom = () => { const max = 100; - const emojis = customEmojis.value; + const emojis = customEmojis.value.filter(emoji => !emoji.draft);; const matches = new Set(); const exactMatch = emojis.find(emoji => emoji.name === newQ);