From 9249facaf5d37fdc691aa0d8f09712996f925143 Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Fri, 23 Aug 2024 09:56:15 -0700 Subject: [PATCH] fix: Reports are not sent when selecting to send as PNG, CSV or text (#30001) --- superset-frontend/src/features/alerts/AlertReportModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/features/alerts/AlertReportModal.tsx b/superset-frontend/src/features/alerts/AlertReportModal.tsx index 1b56ed19d..e136675e3 100644 --- a/superset-frontend/src/features/alerts/AlertReportModal.tsx +++ b/superset-frontend/src/features/alerts/AlertReportModal.tsx @@ -683,7 +683,7 @@ const AlertReportModal: FunctionComponent = ({ ), recipients, report_format: reportFormat || DEFAULT_NOTIFICATION_FORMAT, - extra: contentType === ContentType.Dashboard ? currentAlert?.extra : null, + extra: contentType === ContentType.Dashboard ? currentAlert?.extra : {}, }; if (data.recipients && !data.recipients.length) {