mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
Fix #119698
This commit is contained in:
parent
8437d38d36
commit
c6a8cb7f09
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue