From 691ea7ce15f6fe1bdfd5303d7e8bdbf6f9200ea4 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 21 Nov 2025 16:55:20 +0100 Subject: [PATCH] Cannot read properties of undefined (reading 'selectedStep'): (#276097) (#278802) --- .../contrib/welcomeGettingStarted/browser/gettingStarted.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts index 4801a2a06b5..83eb72be591 100644 --- a/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts +++ b/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts @@ -1533,7 +1533,7 @@ export class GettingStartedPage extends EditorPane { buildStepList(); this.detailsPageDisposables.add(this.contextService.onDidChangeContext(e => { - if (e.affectsSome(contextKeysToWatch) && this.currentWalkthrough) { + if (e.affectsSome(contextKeysToWatch) && this.currentWalkthrough && this.editorInput) { buildStepList(); this.registerDispatchListeners(); this.selectStep(this.editorInput.selectedStep, false);