mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 13:05:57 +02:00
fix
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user