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

(cherry picked from commit 32179f1a85)
This commit is contained in:
Jack 2024-03-04 10:34:31 -06:00 committed by Michael S. Molina
parent 25b7eb0ec9
commit 19efb146b2

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>