mirror of https://github.com/apache/superset.git
fix(Alerts & Reports): Fixing bug that resets cron value to default when empty (#27262)
This commit is contained in:
parent
231e659b56
commit
32179f1a85
|
@ -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