mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +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>
|
||||
}
|
||||
/>
|
||||
<ConditionallyRender
|
||||
condition={Boolean(currentStrategy?.variants?.length)}
|
||||
show={
|
||||
currentStrategy?.variants && (
|
||||
<StyledBox>
|
||||
<StyledTypography>
|
||||
Deleting strategy variants:
|
||||
</StyledTypography>
|
||||
<EnvironmentVariantsTable
|
||||
variants={currentStrategy.variants}
|
||||
/>
|
||||
</StyledBox>
|
||||
)
|
||||
}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{change.action === 'updateStrategy' && (
|
||||
|
Loading…
Reference in New Issue
Block a user