From 4c56c05ce93041dccfc02c6e500dc85cf0fbcb49 Mon Sep 17 00:00:00 2001 From: rozetko Date: Fri, 29 Mar 2024 19:32:24 +0300 Subject: [PATCH] fix linter error --- src/components/Panel.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Panel.tsx b/src/components/Panel.tsx index d4e4307..b2b2603 100644 --- a/src/components/Panel.tsx +++ b/src/components/Panel.tsx @@ -89,7 +89,11 @@ export function Panel({ options, data, width, height, timeRange, onChangeTimeRan value = additionalInfoConfig.value.value; } else { if (!_.isEmpty(additionalInfoConfig.value.metricName)) { - const aggregatedValue = getLastMetricValue(grafanaSeriesList, additionalInfoConfig.value.metricName, 'Additional Info'); + const aggregatedValue = getLastMetricValue( + grafanaSeriesList, + additionalInfoConfig.value.metricName, + 'Additional Info' + ); value = aggregatedValue !== null ? aggregatedValue : undefined; } }