mirror of
https://github.com/zadam/trilium.git
synced 2026-07-15 10:33:53 +02:00
feat(tree): avoid async
This commit is contained in:
@@ -1807,11 +1807,8 @@ function buildEnhanceTitle() {
|
||||
return;
|
||||
}
|
||||
|
||||
const note = await froca.getNote(node.data.noteId, true);
|
||||
|
||||
if (!note) {
|
||||
return;
|
||||
}
|
||||
const note = froca.getNoteFromCache(node.data.noteId);
|
||||
if (!note) return;
|
||||
|
||||
const activeNoteContext = appContext.tabManager.getActiveContext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user