mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 21:27:46 +02:00
TSK-1086: Fix merge (#2961)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
const notificationClient = NotificationClientImpl.getClient()
|
||||
const lastViews = notificationClient.getLastViews()
|
||||
|
||||
$: lastView = ($lastViews as any)[value._id]
|
||||
$: lastView = (($lastViews as any) ?? {})[value._id]
|
||||
$: hasNotification = lastView !== undefined && lastView !== -1 && lastView < value.modifiedOn
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user