Skip to content

Commit

Permalink
fix(AlertReports): defaulting grace period to undefined (apache#27552)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisjac authored and EnxDev committed Apr 12, 2024
1 parent f8e263e commit 6539b56
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 @@ -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,
Expand Down

0 comments on commit 6539b56

Please sign in to comment.