diff --git a/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx b/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx index e4da3eb9ef7ae..793b666a6c8e4 100644 --- a/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx +++ b/x-pack/plugins/uptime/public/lib/alert_types/monitor_status.tsx @@ -42,7 +42,7 @@ export const initMonitorStatusAlertType: AlertTypeInitializer = ({ validateFunc = validateMonitorStatusParams; })(); } - return validateFunc && validateFunc(alertParams); + return validateFunc ? validateFunc(alertParams) : ({} as ValidationResult); }, defaultActionMessage, requiresAppContext: false,