diff --git a/src/webview/components/kdbNewConnectionView.ts b/src/webview/components/kdbNewConnectionView.ts index b1e278f1..f2df287c 100644 --- a/src/webview/components/kdbNewConnectionView.ts +++ b/src/webview/components/kdbNewConnectionView.ts @@ -143,6 +143,7 @@ export class KdbNewConnectionView extends LitElement { handleMessage(event: { data: any }) { const message = event.data; + console.log(message); if (message.command === "editConnection") { this.connectionData = message.data; this.labels = message.labels; @@ -366,7 +367,7 @@ export class KdbNewConnectionView extends LitElement { @@ -389,16 +390,17 @@ export class KdbNewConnectionView extends LitElement { } renderLblDropdownOptions(pos: number) { + console.log(this.labels); return html` - - No Label Selected - ${repeat( - this.lblNamesList, - (lbl) => lbl.name, - (lbl) => html` - + No Label Selected + ${repeat( + this.lblNamesList, + (lbl) => lbl, + (lbl) => { + console.log(lbl.name); + console.log(lbl.name === this.labels[pos]); + return html` +