You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/03/26 18:37:50 UTC
(superset) 02/05: fix(AlertReports): defaulting grace period to undefined (#27552)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/superset.git
commit d8517213bfb781eea7a75264823eea24cc779090
Author: Jack <41...@users.noreply.github.com>
AuthorDate: Mon Mar 25 12:12:01 2024 -0500
fix(AlertReports): defaulting grace period to undefined (#27552)
(cherry picked from commit 4fce940a9c3566c5dded68aa5cbba26fb562ae69)
---
superset-frontend/src/features/alerts/AlertReportModal.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset-frontend/src/features/alerts/AlertReportModal.tsx b/superset-frontend/src/features/alerts/AlertReportModal.tsx
index c6acfa6aad..aa0f123228 100644
--- a/superset-frontend/src/features/alerts/AlertReportModal.tsx
+++ b/superset-frontend/src/features/alerts/AlertReportModal.tsx
@@ -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,