Hide connection account picker when there are no auth type options (#3350)

This commit is contained in:
Matt Irvine
2018-11-29 14:54:46 -08:00
committed by GitHub
parent 027badd21f
commit a04a9eb5ad

View File

@@ -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 -