Commit b6ec06ee by Dominik Prokop Committed by GitHub

DataLinks: Apply scoped variables correctly (#18454)

parent 20d0c073
...@@ -199,7 +199,7 @@ class GraphElement { ...@@ -199,7 +199,7 @@ class GraphElement {
{ {
items: [ items: [
...dataLinks.map<ContextMenuItem>(link => { ...dataLinks.map<ContextMenuItem>(link => {
const linkUiModel = this.linkSrv.getDataLinkUIModel(link, this.panel.scopedVariables, { const linkUiModel = this.linkSrv.getDataLinkUIModel(link, this.panel.scopedVars, {
seriesName: item.series.alias, seriesName: item.series.alias,
datapoint: item.datapoint, datapoint: item.datapoint,
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment