mirror of https://github.com/apache/superset.git
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)
|
||||
? rawData.map(row => ({
|
||||
...row,
|
||||
values: row.values.map(value => ({ ...value })),
|
||||
key: formatLabel(row.key, datasource.verboseMap),
|
||||
}))
|
||||
: rawData;
|
||||
|
|
Loading…
Reference in New Issue