UBERF-8547: Inbox cleanup and other (#7058)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-10-29 20:06:16 +07:00
committed by GitHub
parent 400772b792
commit f258c6755a
53 changed files with 397 additions and 1120 deletions
@@ -89,13 +89,13 @@
if (_id && lastId && lastId !== _id) {
const prev = lastId
lastId = _id
void inboxClient.readDoc(getClient(), prev)
void inboxClient.readDoc(prev)
}
}
onDestroy(async () => {
if (issueId === undefined) return
void inboxClient.readDoc(getClient(), issueId)
void inboxClient.readDoc(issueId)
})
$: if (issueId !== undefined && _class !== undefined) {