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