Cannot read properties of undefined (reading 'selectedStep'): (#276097) (#278802)

This commit is contained in:
Benjamin Pasero
2025-11-21 16:55:20 +01:00
committed by GitHub
parent a73588288a
commit 691ea7ce15

View File

@@ -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);