mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-17 15:17:50 +02:00
UBERF-7016: Hide channels without any activity long time (#6176)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user