Skip to content

Commit a127b73

Browse files
authored
Fix opening Continue On option documentation links (microsoft#167435)
1 parent dbe96ec commit a127b73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,8 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
842842
quickPick.show();
843843

844844
quickPick.onDidTriggerItemButton(async (e) => {
845-
if (e.item.description !== undefined) {
846-
const uri = URI.isUri(e.item.description) ? URI.parse(e.item.description) : await this.commandService.executeCommand(e.item.description);
845+
if (e.item.documentation !== undefined) {
846+
const uri = URI.isUri(e.item.documentation) ? URI.parse(e.item.documentation) : await this.commandService.executeCommand(e.item.documentation);
847847
void this.openerService.open(uri, { openExternal: true });
848848
}
849849
});
@@ -910,7 +910,7 @@ class ContinueEditSessionItem implements IQuickPickItem {
910910
public readonly command: string,
911911
public readonly description?: string,
912912
public readonly when?: ContextKeyExpression,
913-
documentation?: string,
913+
public readonly documentation?: string,
914914
) {
915915
if (documentation !== undefined) {
916916
this.buttons = [{

0 commit comments

Comments
 (0)