Skip to content

Commit

Permalink
feat: deleting strategy variants indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Nov 22, 2024
1 parent 5d553d0 commit d6230e7
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 d6230e7

Please sign in to comment.