SYNC: chart UX

This commit is contained in:
SPRINX0\prochazka
2025-06-18 10:04:09 +02:00
committed by Diflow
parent 68551ae176
commit 69ed9172b8
2 changed files with 17 additions and 4 deletions

View File

@@ -154,7 +154,14 @@ module.exports = {
logger.info({ sesid, sql }, 'Processing query');
this.dispatchMessage(sesid, 'Query execution started');
session.subprocess.send({ msgtype: 'executeQuery', sql, autoCommit, autoDetectCharts, limitRows, frontMatter });
session.subprocess.send({
msgtype: 'executeQuery',
sql,
autoCommit,
autoDetectCharts: autoDetectCharts || !!frontMatter?.['selected-chart'],
limitRows,
frontMatter,
});
return { state: 'ok' };
},