mirror of
https://github.com/apache/superset.git
synced 2024-09-12 16:49:40 -04:00
fix(AlertReports): defaulting grace period to undefined (#27552)
(cherry picked from commit 4fce940a9c
)
This commit is contained in:
parent
3bfa8a9cbc
commit
d8517213bf
@ -886,7 +886,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
Block a user