[UBERF-41] Chat notification fixes (#3630)

Signed-off-by: Oleg Solodkov <oleg.solodkov@xored.com>
This commit is contained in:
Oleg Solodkov
2023-08-25 14:53:00 +07:00
committed by GitHub
parent 2c585b2ecd
commit 3be2e0ea55
2 changed files with 3 additions and 3 deletions
@@ -105,7 +105,7 @@
function isChanged (space: Space, docUpdates: Map<Ref<Doc>, DocUpdates>): boolean {
const update = docUpdates.get(space._id)
if (update === undefined) return false
return update.txes.length > 0 && update.hidden !== true
return update.txes.filter((tx) => tx.isNew).length > 0 && update.hidden !== true
}
function getParentActions (): Action[] {