mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(dashboard): Add charts to the dashboard from the Q&A conversation, following the current chart type
This commit is contained in:
@@ -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] : [],
|
||||
|
||||
Reference in New Issue
Block a user