mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
added possibility to search by attached script returning note ids + some refactorings
This commit is contained in:
@@ -71,7 +71,7 @@ async function showTree() {
|
||||
}
|
||||
|
||||
$("#note-menu-button").click(async e => {
|
||||
const node = treeService.getCurrentNode();
|
||||
const node = treeService.getActiveNode();
|
||||
const branch = await treeCache.getBranch(node.data.branchId);
|
||||
const note = await treeCache.getNote(node.data.noteId);
|
||||
const parentNote = await treeCache.getNote(branch.parentNoteId);
|
||||
|
||||
Reference in New Issue
Block a user