diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_complete_count.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_complete_count.tsx index 7740ba9ce0670e..fd2e9f5f1b2bc3 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_complete_count.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/monitor_complete_count.tsx @@ -23,6 +23,10 @@ export const MonitorCompleteCount = (props: MonitorCompleteCountProps) => { const monitorId = useMonitorQueryId(); + if (!monitorId) { + return null; + } + return ( { const { euiTheme } = useEuiTheme(); + if (!monitorId) { + return null; + } + return ( { const monitorId = useMonitorQueryId(); + if (!monitorId) { + return null; + } + return (