Skip to content

Commit

Permalink
fix(AlertReports): defaulting grace period to undefined (#27552)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisjac authored Mar 25, 2024
1 parent a2fd833 commit 4fce940
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 4fce940

Please sign in to comment.