diff --git a/src/hooks/useExpressionsProcessor.ts b/src/hooks/useExpressionsProcessor.ts index 590d4c6b..1bb2a82d 100644 --- a/src/hooks/useExpressionsProcessor.ts +++ b/src/hooks/useExpressionsProcessor.ts @@ -192,7 +192,7 @@ export async function useDashboardQueryProcessor(configList: DashboardWidgetConf ) ) { for (const item of results) { - let label: string = name; + let label: string = "" as string; if (item.metric) { const joined = item.metric.labels .map((d: { key: string; value: string }) => `${d.key}=${d.value}`)