From fa0abc0dd876e50886c55aafd9b132858e4ce673 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Tue, 15 Sep 2020 10:56:55 -0700 Subject: [PATCH] notification templates: fix un-select all --- .../NotificationTemplateList/NotificationTemplateList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateList.jsx b/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateList.jsx index 3dac16f6a2..8b2b721b04 100644 --- a/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateList.jsx +++ b/awx/ui_next/src/screens/NotificationTemplate/NotificationTemplateList/NotificationTemplateList.jsx @@ -124,7 +124,7 @@ function NotificationTemplatesList({ i18n }) { {...props} showSelectAll isAllSelected={isAllSelected} - onSelectAll={() => setSelected([...templates])} + onSelectAll={set => setSelected(set ? [...templates] : [])} qsConfig={QS_CONFIG} additionalControls={[ ...(canAdd