mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 05:25:00 +02:00
UBERF-8547: Inbox cleanup and other (#7058)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user