Skip to content

Commit

Permalink
fix(Alerts & Reports): Fixing bug that resets cron value to default w…
Browse files Browse the repository at this point in the history
…hen empty (#27262)
  • Loading branch information
fisjac authored Mar 4, 2024
1 parent 231e659 commit 32179f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/features/alerts/AlertReportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 32179f1

Please sign in to comment.