From 90454fbe87815e088b01ffa0b632c7cfaa333c74 Mon Sep 17 00:00:00 2001 From: "Anup N. Kamath" <30480046+akamath46297@users.noreply.github.com> Date: Tue, 3 Apr 2018 18:03:08 -0700 Subject: [PATCH] Fixing the provider name (#1051) --- .../connection/connectionDialog/connectionDialogService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sql/parts/connection/connectionDialog/connectionDialogService.ts b/src/sql/parts/connection/connectionDialog/connectionDialogService.ts index 29ac5a96d6..8e38e8a873 100644 --- a/src/sql/parts/connection/connectionDialog/connectionDialogService.ts +++ b/src/sql/parts/connection/connectionDialog/connectionDialogService.ts @@ -204,12 +204,14 @@ export class ConnectionDialogService implements IConnectionDialogService { private handleShowUiComponent(input: OnShowUIResponse) { this._currentProviderType = input.selectedProviderType; + this._model.providerName = this.getCurrentProviderName(); this._model = new ConnectionProfile(this._capabilitiesService, this._model); this.uiController.showUiComponent(input.container); } private handleInitDialog() { this.uiController.initDialog(this._model); + } private handleFillInConnectionInputs(connectionInfo: IConnectionProfile): void {