mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
appContext is now component
This commit is contained in:
@@ -189,7 +189,7 @@ class TreeContextMenu {
|
||||
noteCreateService.duplicateNote(noteId, branch.parentNoteId);
|
||||
}
|
||||
else if (cmd === "searchInSubtree") {
|
||||
appContext.trigger("searchInSubtree", {noteId});
|
||||
appContext.triggerEvent("searchInSubtree", {noteId});
|
||||
}
|
||||
else {
|
||||
ws.logError("Unknown command: " + cmd);
|
||||
|
||||
Reference in New Issue
Block a user