Skip to content

Commit

Permalink
fix: hide variant diff if no change in ChangeRequestOverview (#5715)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-unleash authored Dec 21, 2023
1 parent 3ab331d commit e0f8334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const StrategyChange: VFC<{
</ChangeItemCreateEditWrapper>
<StrategyExecution strategy={change.payload} />
<ConditionallyRender
condition={Boolean(change.payload.variants)}
condition={hasVariantDiff}
show={
change.payload.variants && (
<StyledBox>
Expand Down

0 comments on commit e0f8334

Please sign in to comment.