diff --git a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx index 36561079e..204a1886d 100644 --- a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx +++ b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx @@ -1201,8 +1201,11 @@ const AlertReportModal: FunctionComponent = ({ name="threshold" disabled={conditionNotNull} value={ - currentAlert && currentAlert.validator_config_json - ? currentAlert.validator_config_json.threshold || '' + currentAlert && + currentAlert.validator_config_json && + currentAlert.validator_config_json.threshold !== + undefined + ? currentAlert.validator_config_json.threshold : '' } placeholder={t('Value')}