disconnect

This commit is contained in:
tamaina 2021-11-22 21:10:06 +09:00
parent b299618191
commit 7a08be1470
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ export default defineComponent({
os.stream.send('readNotification', { os.stream.send('readNotification', {
id: props.notification.id id: props.notification.id
}); });
entries.map(({ target }) => observer.unobserve(target)); observer.readObserver.disconnect()();
}); });
readObserver.observe(elRef.value); readObserver.observe(elRef.value);