Skip to content

Commit 691ea7c

Browse files
authored
Cannot read properties of undefined (reading 'selectedStep'): (microsoft#276097) (microsoft#278802)
1 parent a735882 commit 691ea7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ export class GettingStartedPage extends EditorPane {
15331533
buildStepList();
15341534

15351535
this.detailsPageDisposables.add(this.contextService.onDidChangeContext(e => {
1536-
if (e.affectsSome(contextKeysToWatch) && this.currentWalkthrough) {
1536+
if (e.affectsSome(contextKeysToWatch) && this.currentWalkthrough && this.editorInput) {
15371537
buildStepList();
15381538
this.registerDispatchListeners();
15391539
this.selectStep(this.editorInput.selectedStep, false);

0 commit comments

Comments
 (0)