mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 04:07:43 +02:00
TSK-1341 Remove last view (#3115)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
(res) => {
|
||||
messages = res.reverse()
|
||||
if (channel !== undefined) {
|
||||
notificationClient.updateLastView(channel._id, channel._class, undefined, true)
|
||||
notificationClient.read(channel._id)
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -171,7 +171,7 @@
|
||||
}
|
||||
)
|
||||
if (channel !== undefined) {
|
||||
await notificationClient.updateLastView(channel._id, channel._class, channel.modifiedOn, true)
|
||||
await notificationClient.read(channel._id)
|
||||
}
|
||||
clear()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user