1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-23 16:19:28 -05:00
This commit is contained in:
tamaina 2020-05-26 15:04:44 +09:00
parent 974abbe826
commit 886766cca5

View file

@ -112,8 +112,10 @@ export default Vue.extend({
},
beforeDestroy() {
if (!this.notification.isRead) this.readObserver.unobserve(this.$el);
this.connection.dispose();
if (!this.notification.isRead) {
this.readObserver.unobserve(this.$el);
this.connection.dispose();
}
},
methods: {