mirror of
https://github.com/apache/superset.git
synced 2026-04-24 10:35:01 +00:00
fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer doesn't work as expected (#19761)
* fix(plugin-chart-echarts): [feature-parity] apply button of annotation layer does't work * fix: lint * fix: test
This commit is contained in:
@@ -81,9 +81,8 @@ export default function transformProps(
|
||||
filterState,
|
||||
datasource,
|
||||
theme,
|
||||
annotationData = {},
|
||||
} = chartProps;
|
||||
const { annotation_data: annotationData_ } = queriesData[0];
|
||||
const annotationData = annotationData_ || {};
|
||||
const { verboseMap = {} } = datasource;
|
||||
const data1 = (queriesData[0].data || []) as TimeseriesDataRecord[];
|
||||
const data2 = (queriesData[1].data || []) as TimeseriesDataRecord[];
|
||||
|
||||
Reference in New Issue
Block a user