mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 20:43:58 +00:00
equal behaviour for premium and community
This commit is contained in:
@@ -14,10 +14,11 @@ class QueryStreamTableWriter {
|
|||||||
this.currentChangeIndex = 1;
|
this.currentChangeIndex = 1;
|
||||||
this.initializedFile = false;
|
this.initializedFile = false;
|
||||||
this.sesid = sesid;
|
this.sesid = sesid;
|
||||||
if (isProApp()) {
|
// if (isProApp()) {
|
||||||
|
// this.chartProcessor = new ChartProcessor();
|
||||||
|
// }
|
||||||
this.chartProcessor = new ChartProcessor();
|
this.chartProcessor = new ChartProcessor();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
initializeFromQuery(structure, resultIndex, chartDefinition) {
|
initializeFromQuery(structure, resultIndex, chartDefinition) {
|
||||||
this.jslid = crypto.randomUUID();
|
this.jslid = crypto.randomUUID();
|
||||||
@@ -107,7 +108,7 @@ class QueryStreamTableWriter {
|
|||||||
if (this.chartProcessor) {
|
if (this.chartProcessor) {
|
||||||
try {
|
try {
|
||||||
this.chartProcessor.finalize();
|
this.chartProcessor.finalize();
|
||||||
if (this.chartProcessor.charts.length > 0) {
|
if (isProApp() && this.chartProcessor.charts.length > 0) {
|
||||||
process.send({
|
process.send({
|
||||||
msgtype: 'charts',
|
msgtype: 'charts',
|
||||||
sesid: this.sesid,
|
sesid: this.sesid,
|
||||||
|
|||||||
Reference in New Issue
Block a user