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 New Issue
Block a user