logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 09bcb6a5b176a9451d842a32dae64a214aa5ce8c
parent 0fd0d6c4c2c7791f889135727f8afef10a36472d
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Mon, 20 Jun 2022 08:50:32 -0400

Use trimmed keyword for filtering emojis

Diffstat:

Msrc/components/emoji_picker/emoji_picker.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/emoji_picker/emoji_picker.js b/src/components/emoji_picker/emoji_picker.js @@ -270,7 +270,7 @@ const EmojiPicker = { return this.allEmojiGroups .map(group => ({ ...group, - emojis: filterByKeyword(group.emojis, this.keyword) + emojis: filterByKeyword(group.emojis, trim(this.keyword)) })) .filter(group => group.emojis.length > 0) },