mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
fix inadverdently added extra notification toggle from conflicts
This commit is contained in:
@@ -92,18 +92,6 @@ function NotificationListItem (props) {
|
|||||||
</DataListCell>
|
</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>
|
</DataListItemRow>
|
||||||
</DataListItem>
|
</DataListItem>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user