Browse Source

fix linter error

pull/3/head
rozetko 9 months ago
parent
commit
4c56c05ce9
  1. 6
      src/components/Panel.tsx

6
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;
}
}

Loading…
Cancel
Save