Hide custom emoji in reaction picker when BE does not advertise pleroma_custom_emoji_reactions

This commit is contained in:
Alexander Tumin 2023-03-02 11:13:05 +03:00
commit 832019b2c2
5 changed files with 13 additions and 2 deletions

View file

@ -45,8 +45,8 @@ const ReactButton = {
}
},
computed: {
mergedConfig () {
return this.$store.getters.mergedConfig
hideCustomEmoji () {
return !this.$store.state.instance.pleromaChatMessagesAvailable
}
}
}