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
Closes #
[1-1813](https://linear.app/unleash/issue/1-1813/do-not-show-variants-table-in-change-request-when-no-variant-change)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
  • Loading branch information
andreas-unleash committed Dec 21, 2023
1 parent 3ab331d commit e0f8334
Showing 1 changed file with 1 addition and 1 deletion.
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.