fix(dashboard): Add charts to the dashboard from the Q&A conversation, following the current chart type

This commit is contained in:
wangjiahao
2026-07-14 10:36:33 +08:00
parent deff40b884
commit 17b947cb14
@@ -264,7 +264,7 @@ function addToDashboard() {
}
recordeInfo['chart'] = {
type: chartBaseInfo?.type,
type: currentChartType.value ?? chartBaseInfo?.type,
title: chartBaseInfo?.title,
columns: chartBaseInfo?.columns,
xAxis: axis?.x ? [axis?.x] : [],