hide emoji suggestion when destroyed

This commit is contained in:
supertiger1234 2019-09-06 17:42:27 +01:00
parent cb637bbd64
commit b86a0aa2cd

View file

@ -52,6 +52,7 @@ export default {
},
destroyed() {
bus.$off("emojiSuggestions:key", this.KeySwitch);
this.$store.dispatch("setEmojiArray", null);
},
methods: {
emojiParser(emoji) {