Feature: Unlisted custom emojis (#5485)
This commit is contained in:
parent
0cb329f63a
commit
781105293c
9 changed files with 32 additions and 6 deletions
|
@ -46,7 +46,7 @@ const getFrequentlyUsedEmojis = createSelector([
|
|||
|
||||
const getCustomEmojis = createSelector([
|
||||
state => state.get('custom_emojis'),
|
||||
], emojis => emojis.sort((a, b) => {
|
||||
], emojis => emojis.filter(e => e.get('visible_in_picker')).sort((a, b) => {
|
||||
const aShort = a.get('shortcode').toLowerCase();
|
||||
const bShort = b.get('shortcode').toLowerCase();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue