mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: hide variant diff if no change in ChangeRequestOverview (#5715)
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>
This commit is contained in:
parent
3ab331dce7
commit
e0f83347ab
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user