Skip to content

Commit

Permalink
chore: feature release plans other strategies indicator (#9097)
Browse files Browse the repository at this point in the history
  • Loading branch information
daveleek authored Jan 14, 2025
1 parent 3eeab7e commit 87917da
Showing 1 changed file with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ const StyledBadge = styled(Badge)(({ theme }) => ({
color: theme.palette.common.white,
}));

const AdditionalStrategiesDiv = styled('div')(({ theme }) => ({
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
marginBottom: theme.spacing(2),
}));

const EnvironmentAccordionBody = ({
featureEnvironment,
isDisabled,
Expand Down Expand Up @@ -245,9 +252,14 @@ const EnvironmentAccordionBody = ({
strategies.length > 0
}
show={
<SectionSeparator>
<StyledBadge>OR</StyledBadge>
</SectionSeparator>
<>
<SectionSeparator>
<StyledBadge>OR</StyledBadge>
</SectionSeparator>
<AdditionalStrategiesDiv>
Additional strategies
</AdditionalStrategiesDiv>
</>
}
/>
<ConditionallyRender
Expand Down

0 comments on commit 87917da

Please sign in to comment.