From 16bd2080ead0499ea2d9ed74ce0fb4d1769c9fe3 Mon Sep 17 00:00:00 2001 From: ecmel Date: Tue, 19 Dec 2023 13:59:38 +0300 Subject: [PATCH] revert to previous --- src/webview/components/kdbDataSourceView.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/webview/components/kdbDataSourceView.ts b/src/webview/components/kdbDataSourceView.ts index 8430f32b..c659045d 100644 --- a/src/webview/components/kdbDataSourceView.ts +++ b/src/webview/components/kdbDataSourceView.ts @@ -215,10 +215,9 @@ export class KdbDataSourceView extends LitElement { private renderApiOptions(selected: string) { if (this.isInsights && this.isMetaLoaded) { - /* return this.insightsMeta.api .filter( - (api) => api.api === ".kxi.getData" || !api.api.startsWith(".kxi.") + (api) => api.api === ".kxi.getData" //|| !api.api.startsWith(".kxi.") ) .map((api) => { const value = @@ -231,12 +230,7 @@ export class KdbDataSourceView extends LitElement { >${value} `; - }); - */ - this.selectedApi = "getData"; - return html` - getData - `; + }); } return []; }