disconnect
This commit is contained in:
parent
b299618191
commit
7a08be1470
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue