Skip to content

Commit

Permalink
Merge pull request missive#153 from savardc/fix-search-with-custom
Browse files Browse the repository at this point in the history
Fix search with custom data and filter
  • Loading branch information
EtienneLem authored Jan 9, 2018
2 parents 9675658 + b644e3d commit d17c8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/emoji-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function search(
if (results) {
if (emojisToShowFilter) {
results = results.filter(result =>
emojisToShowFilter(data.emojis[result.id])
emojisToShowFilter(pool[result.id])
)
}

Expand Down

0 comments on commit d17c8a5

Please sign in to comment.