mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-03 06:12:22 +02:00
Hide auto completion menu when channel changes
This commit is contained in:
parent
83f3fe772a
commit
57ba119edb
|
@ -89,6 +89,11 @@ export default {
|
||||||
channel: Object,
|
channel: Object,
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
"channel.id"() {
|
||||||
|
if (autocompletionRef) {
|
||||||
|
autocompletionRef.hide();
|
||||||
|
}
|
||||||
|
},
|
||||||
"channel.pendingMessage"() {
|
"channel.pendingMessage"() {
|
||||||
this.setInputSize();
|
this.setInputSize();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue