DataLinks: Fixed interpolation of repeated variables used in data links (#26147)
(cherry picked from commit 89b56782c6)
This commit is contained in:
committed by
Andrej Ocenas
parent
c14ac88b8d
commit
5f539230da
@@ -54,8 +54,10 @@ export const getFieldLinksSupplier = (value: FieldDisplay): LinkModelSupplier<Fi
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
getLinks: (_scopedVars?: any) => {
|
getLinks: (existingScopedVars?: any) => {
|
||||||
const scopedVars: DataLinkScopedVars = {};
|
const scopedVars: DataLinkScopedVars = {
|
||||||
|
...(existingScopedVars ?? {}),
|
||||||
|
};
|
||||||
|
|
||||||
if (value.view) {
|
if (value.view) {
|
||||||
const { dataFrame } = value.view;
|
const { dataFrame } = value.view;
|
||||||
|
|||||||
Reference in New Issue
Block a user