Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ukrbublik committed Nov 20, 2024
1 parent 4f0361f commit 9c43fad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ const createSortableContainer = (Builder, CanMoveFn = null) =>
const isRuleGroupAffected = (fromII.type == "rule_group" || !!fromII.closestRuleGroupId || toII.type == "rule_group" || !!toII.closestRuleGroupId);
const targetRuleGroupId = isPend && toII.type == "rule_group" ? toII.id : toII.closestRuleGroupId;
const targetRuleGroupMaxNesting = isPend && toII.type == "rule_group" ? toII.maxNesting : toII.closestRuleGroupMaxNesting;
const targetRuleGroupCanRegroup = isPend && toII.type == "rule_group" ? toII.canRegroup : toII.targetRuleGroupCanRegroup;
const targetRuleGroupCanRegroup = isPend && toII.type == "rule_group" ? toII.canRegroup : toII.closestRuleGroupCanRegroup;
const closestRuleGroupLev = isPend && toII.type == "rule_group" ? toII.lev : toII.closestRuleGroupLev;
const newDepthLevInRuleGroup = (toParentII ? toParentII.lev + 1 : toII.lev)
+ (fromII.depth || (fromII.type == "group" ? 1 : 0))
Expand Down

0 comments on commit 9c43fad

Please sign in to comment.