Provide correct field scoped vars for data links interpolation (#25318)

This commit is contained in:
Dominik Prokop
2020-06-04 08:35:15 +02:00
committed by GitHub
parent ed92b41d47
commit 0f5b894256
2 changed files with 6 additions and 6 deletions

View File

@@ -112,8 +112,8 @@ export function applyFieldOverrides(options: ApplyFieldOverrideOptions): DataFra
text: 'Field',
value: {
name: displayName, // Generally appropriate (may include the series name if useful)
labels: formatLabels(field.labels!),
label: field.labels,
formattedLabels: formatLabels(field.labels!),
labels: field.labels,
},
};