mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
using 201 for created entities in etapi
This commit is contained in:
@@ -218,9 +218,10 @@ class NoteContext extends Component {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hasNoteList() {
|
||||
return this.note.hasChildren()
|
||||
return this.note
|
||||
&& this.note.hasChildren()
|
||||
&& ['book', 'text', 'code'].includes(this.note.type)
|
||||
&& this.note.mime !== 'text/x-sqlite;schema=trilium'
|
||||
&& !this.note.hasLabel('hideChildrenOverview');
|
||||
|
||||
Reference in New Issue
Block a user