Skip to content

Commit

Permalink
fix(AlertReports): defaulting grace period to undefined (#27552)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4fce940)
  • Loading branch information
fisjac authored and michael-s-molina committed Mar 26, 2024
1 parent 3bfa8a9 commit d851721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/src/features/alerts/AlertReportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d851721

Please sign in to comment.