mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
allow specifiyng sorted attribute (including off for overriding), #2142
This commit is contained in:
@@ -132,6 +132,10 @@ class Note extends AbstractEntity {
|
||||
return this.children;
|
||||
}
|
||||
|
||||
hasChildren() {
|
||||
return this.children && this.children.length > 0;
|
||||
}
|
||||
|
||||
getChildBranches() {
|
||||
return this.children.map(childNote => this.becca.getBranchFromChildAndParent(childNote.noteId, this.noteId));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user