note complement is now loaded through tree cache

This commit is contained in:
zadam
2020-02-01 18:29:18 +01:00
parent f0cbca2838
commit 0e13678f7c
8 changed files with 22 additions and 44 deletions

View File

@@ -44,7 +44,7 @@ async function mouseEnterHandler() {
const noteId = treeService.getNoteIdFromNotePath(notePath);
const note = await treeCache.getNote(noteId);
const noteComplement = await noteDetailService.loadNoteComplement(noteId);
const noteComplement = await treeCache.getNoteComplement(noteId);
const html = await renderTooltip(note, noteComplement);