Skip to content

Commit 105163b

Browse files
authored
Merge pull request #1212 from Cuiyansong/master
fix(chart): fix missing pass drill option into child component
2 parents 5796484 + c74d6aa commit 105163b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

frontend/src/app/pages/MainPage/pages/VizPage/ChartPreview/ChartPreview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ const ChartPreviewBoard: FC<{
419419
dataset={chartPreview?.dataset}
420420
chart={chart!}
421421
config={chartPreview?.chartConfig!}
422+
drillOption={drillOptionRef.current}
422423
width={cacheW}
423424
height={cacheH}
424425
/>

frontend/src/app/pages/SharePage/ChartForShare.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ const ChartForShare: FC<{
176176
dataset={chartPreview?.dataset}
177177
chart={chart!}
178178
config={chartPreview?.chartConfig!}
179+
drillOption={drillOptionRef.current}
179180
width={width}
180181
height={height}
181182
/>

0 commit comments

Comments
 (0)