mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix(legacy-chart): corrupted raw chart data (#24850)
This commit is contained in:
parent
ea17dd637c
commit
1c5971d3af
@ -111,6 +111,7 @@ export default function transformProps(chartProps) {
|
|||||||
const data = Array.isArray(rawData)
|
const data = Array.isArray(rawData)
|
||||||
? rawData.map(row => ({
|
? rawData.map(row => ({
|
||||||
...row,
|
...row,
|
||||||
|
values: row.values.map(value => ({ ...value })),
|
||||||
key: formatLabel(row.key, datasource.verboseMap),
|
key: formatLabel(row.key, datasource.verboseMap),
|
||||||
}))
|
}))
|
||||||
: rawData;
|
: rawData;
|
||||||
|
Loading…
Reference in New Issue
Block a user