mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
continuing refactoring
This commit is contained in:
@@ -172,6 +172,10 @@ class TreeCache {
|
||||
return (await this.getNotes([noteId], silentNotFoundError))[0];
|
||||
}
|
||||
|
||||
getNoteFromCache(noteId) {
|
||||
return this.notes[noteId];
|
||||
}
|
||||
|
||||
getBranches(branchIds) {
|
||||
return branchIds
|
||||
.map(branchId => this.getBranch(branchId))
|
||||
|
||||
Reference in New Issue
Block a user