Skip to content

Commit

Permalink
Added null check before building getting started slide. (#186468)
Browse files Browse the repository at this point in the history
Add null check before building getting started slide.
  • Loading branch information
bhavyaus authored Jun 28, 2023
1 parent 0ee51c3 commit 4649b53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ export class GettingStartedPage extends EditorPane {
this.featuredExtensionsList?.layout(size);
this.recentlyOpenedList?.layout(size);

if (this.editorInput.selectedStep && this.currentMediaType) {
if (this.editorInput?.selectedStep && this.currentMediaType) {
this.mediaDisposables.clear();
this.stepDisposables.clear();
this.buildMediaComponent(this.editorInput.selectedStep);
Expand Down

0 comments on commit 4649b53

Please sign in to comment.