From b7c50b3be2b57a9efb3cb13c695b63e78c0783f4 Mon Sep 17 00:00:00 2001 From: Brendan O'Handley Date: Thu, 11 May 2023 12:52:59 -0400 Subject: [PATCH] Prometheus: Class added for encyclopedia on open for fullstory (#68325) add class to metric encyclopedia option in metric select on open for fullstory --- .../prometheus/querybuilder/components/MetricSelect.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/querybuilder/components/MetricSelect.tsx b/public/app/plugins/datasource/prometheus/querybuilder/components/MetricSelect.tsx index 4469bc41d71..6378b8d1f9d 100644 --- a/public/app/plugins/datasource/prometheus/querybuilder/components/MetricSelect.tsx +++ b/public/app/plugins/datasource/prometheus/querybuilder/components/MetricSelect.tsx @@ -131,6 +131,7 @@ export function MetricSelect({ return (
{ // if there is no metric and the m.e. is enabled, open the modal if (e.code === 'Enter') { @@ -139,10 +140,10 @@ export function MetricSelect({ }} > { -
+
-
{option.label}
-
{option.description}
+
{option.label}
+
{option.description}