From c6a8cb7f091301c54f36ec9a2a979397f5e1c806 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Wed, 24 Mar 2021 09:29:41 +0100 Subject: [PATCH] Fix #119698 --- .../workbench/contrib/extensions/browser/extensionsActions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts index 5b7a3787326..0a03f1f7ab6 100644 --- a/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts +++ b/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts @@ -123,8 +123,8 @@ export class PromptExtensionInstallFailureAction extends Action { if (this.error.name === INSTALL_ERROR_NOT_SUPPORTED) { const productName = isWeb ? localize({ key: 'vscode web', comment: ['VS Code Web is the name of the product'] }, "VS Code Web") : this.productService.nameLong; const message = localize('cannot be installed', "The '{0}' extension is not available in {1}. Click 'More Information' to learn more.", this.extension.displayName || this.extension.identifier.id, productName); - const result = await this.dialogService.show(Severity.Info, message, [localize('more information', "More Information"), localize('ok', "OK")]); - if (result.choice === 0) { + const result = await this.dialogService.show(Severity.Info, message, [localize('close', "Close"), localize('more information', "More Information")], { cancelId: 0 }); + if (result.choice === 1) { this.openerService.open(isWeb ? URI.parse('https://aka.ms/vscode-remote-codespaces') : URI.parse('https://aka.ms/vscode-remote')); } return;