mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
removed dependency on note tree widget from app context
This commit is contained in:
@@ -90,6 +90,7 @@ async function showTree() {
|
||||
}
|
||||
|
||||
$detail.on("click", ".note-menu-button", async e => {
|
||||
// FIXME
|
||||
const node = appContext.getMainNoteTree().getActiveNode();
|
||||
const branch = treeCache.getBranch(node.data.branchId);
|
||||
const note = await treeCache.getNote(node.data.noteId);
|
||||
|
||||
Reference in New Issue
Block a user