Commit 89b56782 by Torkel Ödegaard Committed by GitHub

DataLinks: Fixed interpolation of repeated variables used in data links (#26147)

parent 292c985b
......@@ -54,8 +54,10 @@ export const getFieldLinksSupplier = (value: FieldDisplay): LinkModelSupplier<Fi
return undefined;
}
return {
getLinks: (_scopedVars?: any) => {
const scopedVars: DataLinkScopedVars = {};
getLinks: (existingScopedVars?: any) => {
const scopedVars: DataLinkScopedVars = {
...(existingScopedVars ?? {}),
};
if (value.view) {
const { dataFrame } = value.view;
......
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