diff --git a/x-pack/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts b/x-pack/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts index 7b2a382a79139..53d187aad2587 100644 --- a/x-pack/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts +++ b/x-pack/plugins/apm/public/components/app/ServiceMap/cytoscapeOptions.ts @@ -34,10 +34,7 @@ const getBorderColor: cytoscape.Css.MapperFunction< const hasAnomalyDetectionJob = el.data('ml_job_id') !== undefined; const nodeSeverity = el.data('anomaly_severity'); if (hasAnomalyDetectionJob) { - return ( - getSeverityColor(nodeSeverity) || - (getSeverityColor(severity.warning) as string) - ); + return getSeverityColor(nodeSeverity) || theme.euiColorMediumShade; } if (el.hasClass('primary') || el.selected()) { return theme.euiColorPrimary;