add public dashboard token to metric panel issued queries (#57293)

This commit is contained in:
Michael Mandrus authored and GitHub committed 2022-10-19 13:29:19 -04:00
1 parent 8a35cb57fa
commit 86b0581021
1 file changed
+1
@@ -200,6 +200,7 @@ class MetricsPanelCtrl extends PanelCtrl {
timeRange: this.range,
maxDataPoints: panel.maxDataPoints || this.width,
minInterval: panel.interval,
publicDashboardAccessToken: this.dashboard.meta.publicDashboardAccessToken,
scopedVars: panel.scopedVars,
cacheTimeout: panel.cacheTimeout,
transformations: panel.transformations,