mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
note complement is now loaded through tree cache
This commit is contained in:
@@ -85,11 +85,7 @@ class TabContext extends Component {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!this.noteComplementPromise) {
|
||||
this.noteComplementPromise = noteDetailService.loadNoteComplement(this.noteId);
|
||||
}
|
||||
|
||||
return await this.noteComplementPromise;
|
||||
return await treeCache.getNoteComplement(this.noteId);
|
||||
}
|
||||
|
||||
async remove() {
|
||||
|
||||
Reference in New Issue
Block a user