mirror of
https://github.com/Unleash/unleash.git
synced 2025-12-09 20:04:11 +01:00
feat: add tooltip for remove safeguard and automation (#11107)
This commit is contained in:
parent
c0fc2032ae
commit
abc1eadf66
@ -252,9 +252,14 @@ export const MilestoneTransitionDisplay = ({
|
||||
{badge}
|
||||
<PermissionIconButton
|
||||
permission={UPDATE_FEATURE_STRATEGY}
|
||||
projectId={projectId}
|
||||
environmentId={environment}
|
||||
onClick={onDelete}
|
||||
size='small'
|
||||
aria-label={`Delete automation for ${milestoneName}`}
|
||||
aria-label={`Remove automation for ${milestoneName}`}
|
||||
tooltipProps={{
|
||||
title: `Remove automation for ${milestoneName}`,
|
||||
}}
|
||||
sx={{ padding: 0.5 }}
|
||||
>
|
||||
<DeleteOutlineIcon fontSize='small' />
|
||||
|
||||
@ -424,7 +424,10 @@ const SafeguardFormBase: FC<SafeguardFormBaseProps> = ({
|
||||
environmentId={environment}
|
||||
onClick={handleDelete}
|
||||
size='small'
|
||||
aria-label='Delete safeguard'
|
||||
aria-label='Remove safeguard'
|
||||
tooltipProps={{
|
||||
title: 'Remove safeguard',
|
||||
}}
|
||||
sx={{ padding: 0.5 }}
|
||||
>
|
||||
<DeleteOutlineIcon fontSize='small' />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user