Comment edit fix (#2442)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2022-12-15 13:33:17 +06:00 committed by GitHub
parent bae3559f10
commit c9cf866066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,7 +267,7 @@ class ActivityImpl implements Activity {
return false
}
const tx = TxProcessor.extractTx(cltx)
if ([core.class.TxCreateDoc, core.class.TxRemoveDoc].includes(tx._class)) return true
if ([core.class.TxCreateDoc, core.class.TxUpdateDoc, core.class.TxRemoveDoc].includes(tx._class)) return true
return false
}