From a0afe0bdb7b9b9ffb3675d6545de1f0a0b2c5718 Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 16 Dec 2020 09:20:30 -0500 Subject: [PATCH] Fix disabled prop on notification button --- .../NotificationTemplateList/NotificationTemplateListItem.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.jsx b/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.jsx index 5f3d0a2a10..e243f2c321 100644 --- a/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.jsx +++ b/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateListItem.jsx @@ -133,7 +133,7 @@ function NotificationTemplateListItem({ aria-label={i18n._(t`Test Notification`)} variant="plain" onClick={sendTestNotification} - disabled={isLoading} + isDisabled={isLoading || status === 'running'} >