fix(AlertReports): defaulting grace period to undefined (#27552)

This commit is contained in:
Jack 2024-03-25 12:12:01 -05:00 committed by GitHub
parent a2fd83367e
commit 4fce940a9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
// Need to make sure grace period is not lower than TIMEOUT_MIN
if (value === 0) {
updateAlertState(target.name, null);
updateAlertState(target.name, undefined);
} else {
updateAlertState(
target.name,