fix(launch_bar): note launcher no longer hoisting in same tab (closes #8160)

This commit is contained in:
Elian Doran 2025-12-25 22:52:01 +02:00
parent f09d918695
commit a4dbefd7ef
No known key found for this signature in database

View File

@ -30,7 +30,7 @@ export function CustomNoteLauncher({ launcherNote, getTargetNoteId, getHoistedNo
const 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 ]);