From 7a08be14707dfe791b1051868edf6601e2516b89 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 22 Nov 2021 21:10:06 +0900 Subject: [PATCH] disconnect --- packages/client/src/components/notification.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/notification.vue b/packages/client/src/components/notification.vue index 5b5851c482..22ed2e95f8 100644 --- a/packages/client/src/components/notification.vue +++ b/packages/client/src/components/notification.vue @@ -113,7 +113,7 @@ export default defineComponent({ os.stream.send('readNotification', { id: props.notification.id }); - entries.map(({ target }) => observer.unobserve(target)); + observer.readObserver.disconnect()(); }); readObserver.observe(elRef.value);