fix the wizard opened twice issue #7866 (#7869)

This commit is contained in:
Alan Ren
2019-10-21 15:32:13 -07:00
committed by GitHub
parent b8ad7e3072
commit 6a375fdd8c

View File

@@ -37,7 +37,6 @@ export class ResourceTypePickerDialog extends DialogBase {
resourceType: ResourceType) {
super(localize('resourceTypePickerDialog.title', "Select the deployment options"), 'ResourceTypePickerDialog', true);
this._selectedResourceType = resourceType;
this._dialogObject.okButton.onClick(() => this.onComplete());
this._installToolButton = azdata.window.createButton(localize('deploymentDialog.InstallToolsButton', "Install tools"));
this._toDispose.push(this._installToolButton.onClick(() => {
this.installTools();