From 4fce940a9c3566c5dded68aa5cbba26fb562ae69 Mon Sep 17 00:00:00 2001 From: Jack <41238731+fisjac@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:12:01 -0500 Subject: [PATCH] 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 c24c49f33655b..6de43fae6a075 100644 --- a/superset-frontend/src/features/alerts/AlertReportModal.tsx +++ b/superset-frontend/src/features/alerts/AlertReportModal.tsx @@ -883,7 +883,7 @@ const AlertReportModal: FunctionComponent = ({ // 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,