mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-15 20:56:36 +02:00
Fix clicking red banner not hiding the error
This commit is contained in:
parent
b3e86dbab4
commit
7b3f7d1c59
|
@ -69,7 +69,7 @@
|
|||
<div
|
||||
v-if="this.$root.currentUserVisibleError"
|
||||
id="connection-error"
|
||||
@click="this.$root.currentUserVisibleError = null">{{ this.$root.currentUserVisibleError }}</div>
|
||||
@click="hideUserVisibleError">{{ this.$root.currentUserVisibleError }}</div>
|
||||
<span id="upload-progressbar" />
|
||||
<ChatInput
|
||||
:network="network"
|
||||
|
@ -107,5 +107,10 @@ export default {
|
|||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
hideUserVisibleError() {
|
||||
this.$root.currentUserVisibleError = null;
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue