mirror of
https://github.com/zadam/trilium.git
synced 2026-03-02 02:23:38 +01:00
feat(tree): avoid async
This commit is contained in:
parent
d0cdcfc32c
commit
dec4dafba6
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user