fix
This commit is contained in:
parent
781cd5dd6d
commit
0d4a5338c8
|
@ -77,7 +77,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
v-for="category in groupedData"
|
v-for="category in groupedData"
|
||||||
:key="`custom:${category}`"
|
:key="`custom:${category}`"
|
||||||
:initialShown="false"
|
:initialShown="false"
|
||||||
:emojis="computed(() => customEmojis.filter(filterAvailable))"
|
:emojis="computed(() => customEmojis.filter(emoji => !emoji.draft).filter(filterAvailable))"
|
||||||
:category="category"
|
:category="category"
|
||||||
@chosen="chosen"
|
@chosen="chosen"
|
||||||
/>
|
/>
|
||||||
|
@ -181,7 +181,7 @@ watch(q, () => {
|
||||||
|
|
||||||
const searchCustom = () => {
|
const searchCustom = () => {
|
||||||
const max = 100;
|
const max = 100;
|
||||||
const emojis = customEmojis.value;
|
const emojis = customEmojis.value.filter(emoji => !emoji.draft);;
|
||||||
const matches = new Set<Misskey.entities.CustomEmoji>();
|
const matches = new Set<Misskey.entities.CustomEmoji>();
|
||||||
|
|
||||||
const exactMatch = emojis.find(emoji => emoji.name === newQ);
|
const exactMatch = emojis.find(emoji => emoji.name === newQ);
|
||||||
|
|
Loading…
Reference in New Issue