Include unpacked emojis in emoji picker

This commit is contained in:
tusooa 2022-12-31 12:29:33 -05:00
commit 876e51603a
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
3 changed files with 37 additions and 6 deletions

View file

@ -287,7 +287,11 @@ const EmojiPicker = {
return 0
},
allCustomGroups () {
return this.$store.getters.groupedCustomEmojis
const emojis = this.$store.getters.groupedCustomEmojis
if (emojis.unpacked) {
emojis.unpacked.text = this.$t('emoji.unpacked')
}
return emojis
},
defaultGroup () {
return Object.keys(this.allCustomGroups)[0]