Skip to content

Commit

Permalink
Fix #161065. List view might not have view model when webview is read…
Browse files Browse the repository at this point in the history
…y. (#169344)
  • Loading branch information
rebornix authored Dec 16, 2022
1 parent c67a8af commit 4f2cfb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
return;
}

if (!this.viewModel) {
if (!this.viewModel || !this._list.viewModel) {
return;
}

Expand Down

0 comments on commit 4f2cfb3

Please sign in to comment.