1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-04 13:48:56 +02:00

chore: feature release plans other strategies indicator (#9097)

This commit is contained in:
David Leek 2025-01-14 15:07:03 +01:00 committed by GitHub
parent 3eeab7e80b
commit 87917da4df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,6 +52,13 @@ const StyledBadge = styled(Badge)(({ theme }) => ({
color: theme.palette.common.white, color: theme.palette.common.white,
})); }));
const AdditionalStrategiesDiv = styled('div')(({ theme }) => ({
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
marginBottom: theme.spacing(2),
}));
const EnvironmentAccordionBody = ({ const EnvironmentAccordionBody = ({
featureEnvironment, featureEnvironment,
isDisabled, isDisabled,
@ -245,9 +252,14 @@ const EnvironmentAccordionBody = ({
strategies.length > 0 strategies.length > 0
} }
show={ show={
<SectionSeparator> <>
<StyledBadge>OR</StyledBadge> <SectionSeparator>
</SectionSeparator> <StyledBadge>OR</StyledBadge>
</SectionSeparator>
<AdditionalStrategiesDiv>
Additional strategies
</AdditionalStrategiesDiv>
</>
} }
/> />
<ConditionallyRender <ConditionallyRender