We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dbbe69 commit ce44d8bCopy full SHA for ce44d8b
src/vs/workbench/parts/files/common/editors/fileEditorInput.ts
@@ -200,7 +200,7 @@ export class FileEditorInput extends EditorInput implements IFileEditorInput {
200
if (model && model.hasState(ModelState.ORPHAN)) {
201
return localize('orphanedFile', "{0} (deleted from disk)", label);
202
}
203
- if (model && model.isReadonly) {
+ if (model && model.isReadonly()) {
204
return localize('readonlyFile', "{0} (read-only)", label);
205
206
0 commit comments