UBERF-7016: Hide channels without any activity long time (#6176)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-07-30 12:53:24 +07:00
committed by GitHub
parent 1340ca78a9
commit 416eb9942e
28 changed files with 743 additions and 346 deletions
@@ -91,7 +91,7 @@
): boolean {
const context = notifyContextByDoc.get(space._id)
if (context === undefined || context.hidden) {
if (context === undefined) {
return false
}
@@ -53,7 +53,7 @@
): boolean {
const notifyContext = docUpdates.get(space._id)
if (notifyContext === undefined) return false
return !notifyContext.hidden && !!inboxNotificationsByContext.get(notifyContext._id)?.length
return !!inboxNotificationsByContext.get(notifyContext._id)?.length
}
$: visibleSpace = spaces.find((space) => currentSpace === space._id)
</script>