Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix node focus after hoisting
zadameee75bd2e88f
diff --git a/src/public/javascripts/services/hoisted_note.js b/src/public/javascripts/services/hoisted_note.jsindex ff74589110..80b0fc12e7 100644--- a/src/public/javascripts/services/hoisted_note.js+++ b/src/public/javascripts/services/hoisted_note.js@@ -25,6 +25,12 @@ async function setHoistedNoteId(noteId) {await server.put('options/hoistedNoteId/' + noteId);await tree.reload();++ const activeTabContext = noteDetailService.getActiveTabContext();++ if (activeTabContext) {+ await tree.activateNote(activeTabContext.notePath);+ }}async function unhoist() {