Hide auto completion menu when channel changes

This commit is contained in:
Pavel Djundik 2019-11-24 15:44:03 +02:00
parent 83f3fe772a
commit 57ba119edb

View File

@ -89,6 +89,11 @@ export default {
channel: Object,
},
watch: {
"channel.id"() {
if (autocompletionRef) {
autocompletionRef.hide();
}
},
"channel.pendingMessage"() {
this.setInputSize();
},