mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
fix(Alerts & Reports): Fixing bug that resets cron value to default when empty (#27262)
(cherry picked from commit 32179f1a85
)
This commit is contained in:
parent
25b7eb0ec9
commit
19efb146b2
@ -1581,7 +1581,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
|
||||
key="schedule"
|
||||
>
|
||||
<AlertReportCronScheduler
|
||||
value={currentAlert?.crontab || ALERT_REPORTS_DEFAULT_CRON_VALUE}
|
||||
value={currentAlert?.crontab || ''}
|
||||
onChange={newVal => updateAlertState('crontab', newVal)}
|
||||
/>
|
||||
<StyledInputContainer>
|
||||
|
Loading…
Reference in New Issue
Block a user