mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Added null check before building getting started slide. (#186468)
Add null check before building getting started slide.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user