Skip to content
Snippets Groups Projects
Commit 950ae6d8 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Merge branch 'reactions-search' into 'develop'

make reactions-search case-insensitive

See merge request pleroma/pleroma-fe!1189
parents 0478e82b 00d662c4
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,10 @@ const ReactButton = {
},
emojis () {
if (this.filterWord !== '') {
return this.$store.state.instance.emoji.filter(emoji => emoji.displayText.includes(this.filterWord))
const filterWordLowercase = this.filterWord.toLowerCase()
return this.$store.state.instance.emoji.filter(emoji =>
emoji.displayText.toLowerCase().includes(filterWordLowercase)
)
}
return this.$store.state.instance.emoji || []
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment