fix
This commit is contained in:
parent
974abbe826
commit
886766cca5
|
@ -112,8 +112,10 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
if (!this.notification.isRead) this.readObserver.unobserve(this.$el);
|
if (!this.notification.isRead) {
|
||||||
this.connection.dispose();
|
this.readObserver.unobserve(this.$el);
|
||||||
|
this.connection.dispose();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue