remove SQL Login from CMS and add error messages (#5873)

(cherry picked from commit 6197279e83)
This commit is contained in:
Aditya Bist
2019-06-04 14:29:38 -07:00
committed by Charles Gagnon
parent 763080aea0
commit ff21a93e00
8 changed files with 34 additions and 66 deletions
@@ -284,7 +284,7 @@ export class ConnectionDialogService implements IConnectionDialogService {
this._connectionManagementService,
this._capabilitiesService.getCapabilities(providerName).connection, {
onSetConnectButton: (enable: boolean) => this.handleSetConnectButtonEnable(enable)
}, providerName, this._inputModel ? this._inputModel.options.authTypeChanged : false);
}, providerName);
} else {
this._connectionControllerMap[providerName] =
this._instantiationService.createInstance(ConnectionController,
@@ -322,12 +322,8 @@ export class ConnectionDialogService implements IConnectionDialogService {
this._model.providerName = this._currentProviderType;
this._model = new ConnectionProfile(this._capabilitiesService, this._model);
if (this._inputModel && this._inputModel.options) {
this.uiController.showUiComponent(input.container,
this._inputModel.options.authTypeChanged);
} else {
this.uiController.showUiComponent(input.container);
}
this.uiController.showUiComponent(input.container);
}
private handleInitDialog() {