Merge branch 'fix-notification.vue' of https://github.com/syuilo/misskey into fix-notification.vue

This commit is contained in:
tamaina 2021-11-22 21:10:09 +09:00
commit 98cc961cae

View file

@ -122,8 +122,8 @@ export default defineComponent({
connection.on('readAllNotifications', () => readObserver.disconnect());
onUnmounted(() => {
if (readObserver) readObserver.disconnect();
if (connection) connection.dispose();
readObserver.disconnect();
connection.dispose();
});
}
});