Skip to content

Commit

Permalink
fix for scratchpad 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-Carneiro committed Nov 13, 2024
1 parent 81e4843 commit 2ab0b01
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 2ab0b01

Please sign in to comment.