Skip to content

Commit

Permalink
addresses comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dplumlee committed Jun 13, 2024
1 parent 76f398c commit 2828693
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,7 @@ const calculateRuleInfos = (results: CalculateRuleDiffResult[]): RuleUpgradeInfo
diff: {
fields: pickBy<ThreeWayDiff<unknown>>(
ruleDiff.fields,
(fieldDiff) =>
fieldDiff.has_update ||
fieldDiff.has_conflict ||
// For full transparency we display all user-customized fields, even if nothing changes in the field's target or merged versions
fieldDiff.diff_outcome === ThreeWayDiffOutcome.CustomizedValueNoUpdate ||
fieldDiff.diff_outcome === ThreeWayDiffOutcome.CustomizedValueSameUpdate
(fieldDiff) => fieldDiff.diff_outcome !== ThreeWayDiffOutcome.StockValueNoUpdate
),
has_conflict: ruleDiff.has_conflict,
},
Expand Down

0 comments on commit 2828693

Please sign in to comment.