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
when creating new note into inbox use current hoisted note in new tab as well
zadam9fd26a9b9fc7
diff --git a/src/public/app/services/entrypoints.js b/src/public/app/services/entrypoints.jsindex c382fce0c2..f8d56658b0 100644--- a/src/public/app/services/entrypoints.js+++ b/src/public/app/services/entrypoints.js@@ -74,7 +74,11 @@ export default class Entrypoints extends Component {await ws.waitForMaxKnownEntityChangeId();- await appContext.tabManager.openTabWithNote(note.noteId, true);+ const hoistedNoteId = appContext.tabManager.getActiveTabContext()+ ? appContext.tabManager.getActiveTabContext().hoistedNoteId+ : 'root';++ await appContext.tabManager.openTabWithNote(note.noteId, true, null, hoistedNoteId);appContext.triggerEvent('focusAndSelectTitle');}