From 73b436ab9fd7ec955eca5569772b6a718c77eec1 Mon Sep 17 00:00:00 2001 From: Duy Nguyen Hoang Date: Sat, 24 Jul 2021 04:36:29 +0700 Subject: [PATCH] fix: Unable to create alerts/report after introduced creation_method (#15760) --- superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx index 99a132b53d..72b01b7b5b 100644 --- a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx +++ b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx @@ -123,6 +123,7 @@ const DEFAULT_WORKING_TIMEOUT = 3600; const DEFAULT_CRON_VALUE = '0 * * * *'; // every hour const DEFAULT_ALERT = { active: true, + creation_method: 'alerts_reports', crontab: DEFAULT_CRON_VALUE, log_retention: DEFAULT_RETENTION, working_timeout: DEFAULT_WORKING_TIMEOUT,