Skip to content

Commit c18503e

Browse files
committed
fix(chart): recalculate drill option when change chart
1 parent 99447cc commit c18503e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/components/ChartEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export const ChartEditor: FC<ChartEditorProps> = ({
297297
}),
298298
);
299299
drillOptionRef.current = getChartDrillOption(
300-
chartConfig?.datas,
300+
finalChartConfig?.datas,
301301
drillOptionRef.current,
302302
);
303303
if (!expensiveQuery) {

0 commit comments

Comments
 (0)