Merge pull request #153 from savardc/fix-search-with-custom

Fix search with custom data and filter
release
Etienne Lemay 2018-01-09 15:16:26 -05:00 committed by GitHub
commit d17c8a5c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ function search(
if (results) {
if (emojisToShowFilter) {
results = results.filter(result =>
emojisToShowFilter(data.emojis[result.id])
emojisToShowFilter(pool[result.id])
)
}