Use trimmed keyword for filtering emojis
This commit is contained in:
parent
0fd0d6c4c2
commit
09bcb6a5b1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue