豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit d851721

Browse files
fisjacmichael-s-molina
authored andcommitted
fix(AlertReports): defaulting grace period to undefined (#27552)
(cherry picked from commit 4fce940)
1 parent 3bfa8a9 commit d851721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

superset-frontend/src/features/alerts/AlertReportModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
886886

887887
// Need to make sure grace period is not lower than TIMEOUT_MIN
888888
if (value === 0) {
889-
updateAlertState(target.name, null);
889+
updateAlertState(target.name, undefined);
890890
} else {
891891
updateAlertState(
892892
target.name,

0 commit comments

Comments
 (0)