added dashboard uid when tracing header in browsermode (#53232)

This commit is contained in:
Leo
2022-08-10 10:36:19 +02:00
committed by GitHub
parent aa484a60c9
commit c4984854b6
8 changed files with 51 additions and 18 deletions

View File

@@ -33,7 +33,13 @@ export function PanelEditorTableView({ width, height, panel, dashboard }: Props)
const timeData = applyPanelTimeOverrides(panel, timeSrv.timeRange());
const sub = panel.events.subscribe(RefreshEvent, () => {
panel.runAllPanelQueries(dashboard.id, dashboard.getTimezone(), timeData, width);
panel.runAllPanelQueries({
dashboardId: dashboard.id,
dashboardUID: dashboard.uid,
dashboardTimezone: dashboard.getTimezone(),
timeData,
width,
});
});
return () => {
sub.unsubscribe();