mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-14 00:15:52 +01:00
feat: deleting strategy variants indicator (#8840)
This commit is contained in:
parent
79224ef9e5
commit
4f87f1e0b9
@ -236,6 +236,21 @@ export const StrategyChange: VFC<{
|
|||||||
</Typography>
|
</Typography>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<ConditionallyRender
|
||||||
|
condition={Boolean(currentStrategy?.variants?.length)}
|
||||||
|
show={
|
||||||
|
currentStrategy?.variants && (
|
||||||
|
<StyledBox>
|
||||||
|
<StyledTypography>
|
||||||
|
Deleting strategy variants:
|
||||||
|
</StyledTypography>
|
||||||
|
<EnvironmentVariantsTable
|
||||||
|
variants={currentStrategy.variants}
|
||||||
|
/>
|
||||||
|
</StyledBox>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{change.action === 'updateStrategy' && (
|
{change.action === 'updateStrategy' && (
|
||||||
|
Loading…
Reference in New Issue
Block a user