You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/03/19 11:54:31 UTC
(superset) 02/09: fix(Alerts & Reports): Fixing bug that resets cron value to default when empty (#27262)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 09caaca251575042ec4938463c8875f057c4fcff
Author: Jack <41...@users.noreply.github.com>
AuthorDate: Mon Mar 4 10:34:31 2024 -0600
fix(Alerts & Reports): Fixing bug that resets cron value to default when empty (#27262)
---
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 e371efcf1b..f836599ca4 100644
--- a/superset-frontend/src/features/alerts/AlertReportModal.tsx
+++ b/superset-frontend/src/features/alerts/AlertReportModal.tsx
@@ -1358,7 +1358,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
<span className="required">*</span>
</StyledSectionTitle>
<AlertReportCronScheduler
- value={currentAlert?.crontab || ALERT_REPORTS_DEFAULT_CRON_VALUE}
+ value={currentAlert?.crontab || ''}
onChange={newVal => updateAlertState('crontab', newVal)}
/>
<div className="control-label">{TRANSLATIONS.TIMEZONE_TEXT}</div>