From bc5bc602de561ed2f618c9deefeacac4b985cf2d Mon Sep 17 00:00:00 2001 From: Jaroslaw Michalski Date: Thu, 2 Nov 2023 08:54:05 +0000 Subject: [PATCH] return metric is metric_name is null --- src/components/MetricView/MetricView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MetricView/MetricView.js b/src/components/MetricView/MetricView.js index 2b71e14a3..955ec4696 100644 --- a/src/components/MetricView/MetricView.js +++ b/src/components/MetricView/MetricView.js @@ -32,7 +32,7 @@ const Metrics: ComponentType<*> = ({ data, filter }) => { + dangerouslySetInnerHTML={ markedContent(metric.metric_name ?? metric.metric, filter) }/> { metric.deprecated ? DEPRECATED : null } { metric.category }