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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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>