Skip to content

Commit d25f91a

Browse files
committed
fix: export table data button
1 parent 4731f37 commit d25f91a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/views/chat/chat-block/ChartBlock.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ const chartObject = computed<{
117117
return {}
118118
})
119119
120-
const currentChartType = ref<ChartTypes | undefined>(undefined)
120+
const currentChartType = ref<ChartTypes | undefined>(
121+
props.chatType ?? chartObject.value.type ?? 'table'
122+
)
121123
122124
const chartType = computed<ChartTypes>({
123125
get() {

0 commit comments

Comments
 (0)