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(launch_bar): note launcher no longer hoisting in same tab (closes #8160)
Elian Dorana4dbefd7ef2c
diff --git a/apps/client/src/widgets/launch_bar/GenericButtons.tsx b/apps/client/src/widgets/launch_bar/GenericButtons.tsxindex 69982040fe..70fe0fccef 100644--- a/apps/client/src/widgets/launch_bar/GenericButtons.tsx+++ b/apps/client/src/widgets/launch_bar/GenericButtons.tsx@@ -30,7 +30,7 @@ export function CustomNoteLauncher({ launcherNote, getTargetNoteId, getHoistedNoconst activate = !!evt.shiftKey;await appContext.tabManager.openInNewTab(targetNoteId, hoistedNoteIdWithDefault, activate);} else {- await appContext.tabManager.openInSameTab(targetNoteId);+ await appContext.tabManager.openInSameTab(targetNoteId, hoistedNoteIdWithDefault);}}, [ launcherNote, getTargetNoteId, getHoistedNoteId ]);