mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 14:13:07 +02:00
fix
This commit is contained in:
parent
974abbe826
commit
886766cca5
1 changed files with 4 additions and 2 deletions
|
@ -112,8 +112,10 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
if (!this.notification.isRead) this.readObserver.unobserve(this.$el);
|
if (!this.notification.isRead) {
|
||||||
|
this.readObserver.unobserve(this.$el);
|
||||||
this.connection.dispose();
|
this.connection.dispose();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue