diff --git a/x-pack/plugins/observability_solution/infra/public/pages/metrics/page_template.tsx b/x-pack/plugins/observability_solution/infra/public/pages/metrics/page_template.tsx index d48b77404767d..85c91b7eac851 100644 --- a/x-pack/plugins/observability_solution/infra/public/pages/metrics/page_template.tsx +++ b/x-pack/plugins/observability_solution/infra/public/pages/metrics/page_template.tsx @@ -95,12 +95,12 @@ export const MetricsPageTemplate: React.FC = if (isLoading && !source) return ; - if (!remoteClustersExist) { - return ; + if (sourceError) { + return ; } - if (sourceError) { - ; + if (!isLoading && !remoteClustersExist) { + return ; } if (dataViewLoadError) {