Fix tx collapse (#2972)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-04-13 14:02:34 +06:00 committed by GitHub
parent 2467b82d78
commit f0928324c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,7 +346,7 @@ class ActivityImpl implements Activity {
): DisplayTx[] {
const curUpdate: any = getCombineOpFromTx(result)
if (curUpdate === undefined || (result.doc !== undefined && editable.has(result.doc._class))) {
if (curUpdate === undefined || (result.doc !== undefined && editable.get(result.doc._class) === true)) {
results.push(result)
return results
}