Skip to content

Commit 17b947c

Browse files
committed
fix(dashboard): Add charts to the dashboard from the Q&A conversation, following the current chart type
1 parent deff40b commit 17b947c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ function addToDashboard() {
264264
}
265265
266266
recordeInfo['chart'] = {
267-
type: chartBaseInfo?.type,
267+
type: currentChartType.value ?? chartBaseInfo?.type,
268268
title: chartBaseInfo?.title,
269269
columns: chartBaseInfo?.columns,
270270
xAxis: axis?.x ? [axis?.x] : [],

0 commit comments

Comments
 (0)