You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by kg...@apache.org on 2024/03/25 17:12:12 UTC
(superset) branch master updated: fix(AlertReports): defaulting grace period to undefined (#27552)
This is an automated email from the ASF dual-hosted git repository.
kgabryje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4fce940a9c fix(AlertReports): defaulting grace period to undefined (#27552)
4fce940a9c is described below
commit 4fce940a9c3566c5dded68aa5cbba26fb562ae69
Author: Jack <41...@users.noreply.github.com>
AuthorDate: Mon Mar 25 12:12:01 2024 -0500
fix(AlertReports): defaulting grace period to undefined (#27552)
---
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 c24c49f336..6de43fae6a 100644
--- a/superset-frontend/src/features/alerts/AlertReportModal.tsx
+++ b/superset-frontend/src/features/alerts/AlertReportModal.tsx
@@ -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,