From 39501d746b89aab96db79bc2341adf2d8b682d97 Mon Sep 17 00:00:00 2001 From: Philip Carneiro Date: Tue, 19 Nov 2024 14:33:38 +0000 Subject: [PATCH] fix ds and wb --- src/services/resultsPanelProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/resultsPanelProvider.ts b/src/services/resultsPanelProvider.ts index 902f85a4..3d62c1b3 100644 --- a/src/services/resultsPanelProvider.ts +++ b/src/services/resultsPanelProvider.ts @@ -230,7 +230,7 @@ export class KdbResultsViewProvider implements WebviewViewProvider { rowData = this.updatedExtractRowData(results); columnDefs = this.updatedExtractColumnDefs(results); } else { - results = isInsights ? results.data : results; + results = isInsights ? (results.data ?? results) : results; const queryResult = isInsights ? results.rows : results; if (Array.isArray(queryResult[0])) { if (typeof queryResult[0][0] === "object") {