rework sticker picker for emoji pickerinator 5000 (#111)

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/111
This commit is contained in:
floatingghost 2022-08-04 21:11:19 +00:00
parent 2e92aaaaa3
commit 3eab17330b
5 changed files with 34 additions and 9 deletions

View file

@ -215,7 +215,7 @@ const EmojiPicker = {
}
},
stickerPickerEnabled () {
return (this.$store.state.instance.stickers || []).length !== 0
return (this.$store.state.instance.stickers || []).length !== 0 && this.enableStickerPicker
}
}
}