Skip to content

Commit

Permalink
Merge pull request #456 from KxSystems/fix-insights-conn
Browse files Browse the repository at this point in the history
fix for scratchpad 1.11
  • Loading branch information
Philip-Carneiro-KX authored Nov 13, 2024
2 parents 81e4843 + 2ab0b01 commit 808d78f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/classes/insightsConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export class InsightsConnection {
};

if (this.insightsVersion) {
if (this.insightsVersion >= 1.11) {
if (this.insightsVersion >= 1.12) {
body.returnFormat = isTableView ? "structuredText" : "text";
} else {
body.isTableView = isTableView;
Expand Down
2 changes: 1 addition & 1 deletion src/services/resultsPanelProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class KdbResultsViewProvider implements WebviewViewProvider {
convertToGrid(results: any, isInsights: boolean, connVersion?: number): any {
let rowData = [];
let columnDefs = [];
if (connVersion && connVersion >= 1.11) {
if (connVersion && connVersion >= 1.12) {
rowData = this.updatedExtractRowData(results);
columnDefs = this.updatedExtractColumnDefs(results);
} else {
Expand Down

0 comments on commit 808d78f

Please sign in to comment.