disconnect
This commit is contained in:
parent
b299618191
commit
7a08be1470
1 changed files with 1 additions and 1 deletions
|
@ -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