mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
moved tab management to app context
This commit is contained in:
@@ -30,7 +30,7 @@ async function setHoistedNoteId(noteId) {
|
||||
|
||||
await tree.reload();
|
||||
|
||||
const activeTabContext = noteDetailService.getActiveTabContext();
|
||||
const activeTabContext = appContext.getActiveTabContext();
|
||||
|
||||
if (activeTabContext) {
|
||||
await tree.activateNote(activeTabContext.notePath);
|
||||
|
||||
Reference in New Issue
Block a user