Skip to content

Commit

Permalink
feat: enable search on 'ghcode'
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed May 1, 2024
1 parent a78727d commit ed6dac3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/stores/EmojiStore.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-check

import { ReduceStore } from 'flux/utils';
import AppDispatcher from '../../AppDispatcher';
import ActionTypes from '../actions/ActionTypes';
Expand Down Expand Up @@ -33,6 +35,7 @@ class EmojiStore extends ReduceStore {
|| (content.keywords || []).find(k => k.includes(action.value.toLowerCase())) !== undefined
|| (content.category ? content.category.toLowerCase().includes(action.value.toLowerCase()) : false)
|| (content.emoji === action.value)
|| (content.ghcode.includes(action.value))
;
}),
};
Expand Down

0 comments on commit ed6dac3

Please sign in to comment.