mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
initializing note tree synchronously
This commit is contained in:
@@ -28,6 +28,11 @@ class Branch {
|
||||
return this.treeCache.getNote(this.noteId);
|
||||
}
|
||||
|
||||
/** @returns {NoteShort} */
|
||||
getNoteFromCache() {
|
||||
return this.treeCache.getNoteFromCache(this.noteId);
|
||||
}
|
||||
|
||||
/** @returns {NoteShort} */
|
||||
async getParentNote() {
|
||||
return this.treeCache.getNote(this.parentNoteId);
|
||||
|
||||
Reference in New Issue
Block a user