Fix clicking red banner not hiding the error
This commit is contained in:
parent
b3e86dbab4
commit
7b3f7d1c59
@ -69,7 +69,7 @@
|
|||||||
<div
|
<div
|
||||||
v-if="this.$root.currentUserVisibleError"
|
v-if="this.$root.currentUserVisibleError"
|
||||||
id="connection-error"
|
id="connection-error"
|
||||||
@click="this.$root.currentUserVisibleError = null">{{ this.$root.currentUserVisibleError }}</div>
|
@click="hideUserVisibleError">{{ this.$root.currentUserVisibleError }}</div>
|
||||||
<span id="upload-progressbar" />
|
<span id="upload-progressbar" />
|
||||||
<ChatInput
|
<ChatInput
|
||||||
:network="network"
|
:network="network"
|
||||||
@ -107,5 +107,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
methods: {
|
||||||
|
hideUserVisibleError() {
|
||||||
|
this.$root.currentUserVisibleError = null;
|
||||||
|
}
|
||||||
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user