fix: Context menu crashing when there is no dimension in Echarts Series charts (#23797)

This commit is contained in:
Kamil Gabryjelski
2023-04-24 17:42:56 +02:00
committed by GitHub
parent 6ae5388dcf
commit d4c0ae34f4

View File

@@ -205,7 +205,7 @@ export default function EchartsTimeseries({
const pointerEvent = eventParams.event.event;
const values = [
...(eventParams.name ? [eventParams.name] : []),
...labelMap[seriesName],
...(labelMap[seriesName] ?? []),
];
if (data && xAxis.type === AxisType.time) {
drillToDetailFilters.push({