mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
removed dependency on note tree widget from app context
This commit is contained in:
@@ -107,6 +107,7 @@ export default class SearchBoxWidget extends BasicWidget {
|
||||
return;
|
||||
}
|
||||
|
||||
// FIXME
|
||||
let activeNode = appContext.getMainNoteTree().getActiveNode();
|
||||
const parentNote = await treeCache.getNote(activeNode.data.noteId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user