Skip to content

Commit 8ba8383

Browse files
committed
Fix build error in notebooks
1 parent 1de8e1d commit 8ba8383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/notebookEditorInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class NotebookEditorInput extends EditorInput {
5959
}
6060

6161
isUntitled(): boolean {
62-
return this.textModel?.isUntitled() || false;
62+
return this._textModel?.object.isUntitled() || false;
6363
}
6464

6565
isReadonly() {

0 commit comments

Comments
 (0)