mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-26 01:17:00 +02:00
feat: archived tooltip alignment (#8820)
From  To  --------- Co-authored-by: Thomas Heartman <thomas@getunleash.io>
This commit is contained in:
parent
c927c6f32b
commit
b72ce90102
@ -243,6 +243,14 @@ const PreLiveStageDescription: FC<{ children?: React.ReactNode }> = ({
|
||||
);
|
||||
};
|
||||
|
||||
const ArchivedStageDescription = () => {
|
||||
return (
|
||||
<InfoText>
|
||||
Your feature has been archived, it is now safe to delete it.
|
||||
</InfoText>
|
||||
);
|
||||
};
|
||||
|
||||
const BoldTitle = styled(Typography)(({ theme }) => ({
|
||||
marginTop: theme.spacing(1),
|
||||
marginBottom: theme.spacing(1),
|
||||
@ -513,6 +521,7 @@ export const FeatureLifecycleTooltip: FC<{
|
||||
<Environments environments={stage.environments} />
|
||||
</CompletedStageDescription>
|
||||
)}
|
||||
{stage.name === 'archived' && <ArchivedStageDescription />}
|
||||
</ColorFill>
|
||||
</Box>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user