mirror of https://github.com/apache/superset.git
fix(AlertReports): defaulting grace period to undefined (#27552)
This commit is contained in:
parent
a2fd83367e
commit
4fce940a9c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue