|
@@ -114,6 +114,7 @@ const EmojiPicker = {
|
|
groupsScrolledClass: 'scrolled-top',
|
|
groupsScrolledClass: 'scrolled-top',
|
|
keepOpen: false,
|
|
keepOpen: false,
|
|
customEmojiTimeout: null,
|
|
customEmojiTimeout: null,
|
|
|
|
+ hideCustomEmojiInPicker: false,
|
|
// Lazy-load only after the first time `showing` becomes true.
|
|
// Lazy-load only after the first time `showing` becomes true.
|
|
contentLoaded: false,
|
|
contentLoaded: false,
|
|
groupRefs: {},
|
|
groupRefs: {},
|
|
@@ -286,7 +287,7 @@ const EmojiPicker = {
|
|
return 0
|
|
return 0
|
|
},
|
|
},
|
|
allCustomGroups () {
|
|
allCustomGroups () {
|
|
- if (this.hideCustomEmoji) {
|
|
|
|
|
|
+ if (this.hideCustomEmoji || this.hideCustomEmojiInPicker) {
|
|
return {}
|
|
return {}
|
|
}
|
|
}
|
|
const emojis = this.$store.getters.groupedCustomEmojis
|
|
const emojis = this.$store.getters.groupedCustomEmojis
|