disconnect

This commit is contained in:
tamaina 2021-11-22 21:10:06 +09:00
parent b299618191
commit 7a08be1470

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);