Skip to content

Commit

Permalink
fix improper id usage
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpn committed Sep 10, 2024
1 parent 6663685 commit 7e61fad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ export function usePrebuiltRulesUpgradeState(
...ruleUpgradeInfo,
finalRule: calcFinalDiffableRule(
ruleUpgradeInfo,
rulesResolvedConflicts[ruleUpgradeInfo.id] ?? {}
rulesResolvedConflicts[ruleUpgradeInfo.rule_id] ?? {}
),
hasUnresolvedConflicts:
getUnacceptedConflictsCount(
ruleUpgradeInfo.diff.fields,
rulesResolvedConflicts[ruleUpgradeInfo.id] ?? {}
rulesResolvedConflicts[ruleUpgradeInfo.rule_id] ?? {}
) > 0,
};
}
Expand Down

0 comments on commit 7e61fad

Please sign in to comment.