move stickers to emoji store
This commit is contained in:
parent
573a980512
commit
5e21134d9b
4 changed files with 11 additions and 5 deletions
|
|
@ -351,8 +351,8 @@ const EmojiPicker = {
|
|||
return this.showingStickers ? '' : this.activeGroup
|
||||
},
|
||||
stickersAvailable() {
|
||||
if (useInstanceStore().stickers) {
|
||||
return useInstanceStore().stickers.length > 0
|
||||
if (useEmojiStore().stickers) {
|
||||
return useEmojiStore().stickers.length > 0
|
||||
}
|
||||
return 0
|
||||
},
|
||||
|
|
@ -383,7 +383,7 @@ const EmojiPicker = {
|
|||
.concat(this.unicodeEmojiGroups)
|
||||
},
|
||||
stickerPickerEnabled() {
|
||||
return (useInstanceStore().stickers || []).length !== 0
|
||||
return (useEmojiStore().stickers || []).length !== 0
|
||||
},
|
||||
debouncedHandleKeywordChange() {
|
||||
return debounce(() => {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ const StickerPicker = {
|
|||
},
|
||||
computed: {
|
||||
pack() {
|
||||
return useInstanceStore().stickers || []
|
||||
return useEmojiStore().stickers || []
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue