mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
feat: archive reminder icon (#9781)
This commit is contained in:
parent
176e9d3187
commit
b31845b63c
@ -1,6 +1,7 @@
|
|||||||
import { type FC, useState } from 'react';
|
import { type FC, useState } from 'react';
|
||||||
import { Alert, Box, styled } from '@mui/material';
|
import { Alert, Box, styled } from '@mui/material';
|
||||||
import FlagIcon from '@mui/icons-material/OutlinedFlag';
|
import FlagIcon from '@mui/icons-material/OutlinedFlag';
|
||||||
|
import CleaningServicesIcon from '@mui/icons-material/CleaningServices';
|
||||||
import { parseISO } from 'date-fns';
|
import { parseISO } from 'date-fns';
|
||||||
import differenceInDays from 'date-fns/differenceInDays';
|
import differenceInDays from 'date-fns/differenceInDays';
|
||||||
|
|
||||||
@ -106,6 +107,7 @@ export const CleanupReminder: FC<{
|
|||||||
<>
|
<>
|
||||||
<Alert
|
<Alert
|
||||||
severity='warning'
|
severity='warning'
|
||||||
|
icon={<CleaningServicesIcon />}
|
||||||
action={
|
action={
|
||||||
<PermissionButton
|
<PermissionButton
|
||||||
variant='contained'
|
variant='contained'
|
||||||
@ -147,7 +149,7 @@ export const CleanupReminder: FC<{
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{reminder === 'removeCode' && (
|
{reminder === 'removeCode' && (
|
||||||
<Alert severity='warning'>
|
<Alert severity='warning' icon={<CleaningServicesIcon />}>
|
||||||
<b>Time to remove flag from code?</b>
|
<b>Time to remove flag from code?</b>
|
||||||
<p>
|
<p>
|
||||||
This flag was marked as complete and ready for cleanup.
|
This flag was marked as complete and ready for cleanup.
|
||||||
|
Loading…
Reference in New Issue
Block a user