mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
Fix directs activity (#7991)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -275,7 +275,7 @@ export async function generateDocUpdateMessages (
|
||||
if (controlRules.length > 0) {
|
||||
for (const r of controlRules) {
|
||||
for (const s of r.skip) {
|
||||
if (matchQuery([tx], s, r.objectClass, hierarchy).length > 0) {
|
||||
if (matchQuery([tx], s, core.class.TxCUD, hierarchy).length > 0) {
|
||||
// Match found, we need to skip
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user