mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
fix inadverdently added extra notification toggle from conflicts
This commit is contained in:
parent
0f02daa64d
commit
b45f3f6cab
@ -92,18 +92,6 @@ function NotificationListItem (props) {
|
||||
</DataListCell>
|
||||
]}
|
||||
/>
|
||||
<Switch
|
||||
id={`notification-${notification.id}-error-toggle`}
|
||||
label={i18n._(t`Failure`)}
|
||||
isChecked={errorTurnedOn}
|
||||
isDisabled={!canToggleNotifications}
|
||||
onChange={() => toggleNotification(
|
||||
notification.id,
|
||||
errorTurnedOn,
|
||||
'error'
|
||||
)}
|
||||
aria-label={i18n._(t`Toggle notification failure`)}
|
||||
/>
|
||||
</DataListItemRow>
|
||||
</DataListItem>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user