From a04a9eb5adba82f17506c541ecea06adbeb879fd Mon Sep 17 00:00:00 2001 From: Matt Irvine Date: Thu, 29 Nov 2018 14:54:46 -0800 Subject: [PATCH] Hide connection account picker when there are no auth type options (#3350) --- src/sql/parts/connection/connectionDialog/connectionWidget.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sql/parts/connection/connectionDialog/connectionWidget.ts b/src/sql/parts/connection/connectionDialog/connectionWidget.ts index 0fc93e4c85..d94fe340be 100644 --- a/src/sql/parts/connection/connectionDialog/connectionWidget.ts +++ b/src/sql/parts/connection/connectionDialog/connectionWidget.ts @@ -545,6 +545,10 @@ export class ConnectionWidget { if (this._authTypeSelectBox) { this.onAuthTypeSelected(this._authTypeSelectBox.value); + } else { + let tableContainerElement = this._tableContainer.getContainer(); + tableContainerElement.classList.remove('hide-username-password'); + tableContainerElement.classList.add('hide-azure-accounts'); } // Disable connect button if -