fix(Alerts & Reports): Fixing bug that resets cron value to default when empty (#27262)

This commit is contained in:
Jack
2024-03-04 10:34:31 -06:00
committed by GitHub
parent 231e659b56
commit 32179f1a85

View File

@@ -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>