Skip to content

Commit

Permalink
feat: deleting strategy variants indicator (#8840)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew authored Nov 25, 2024
1 parent 79224ef commit 4f87f1e
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' && (
Expand Down

0 comments on commit 4f87f1e

Please sign in to comment.