mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
use notePath in tabContext
This commit is contained in:
@@ -53,7 +53,9 @@ async function showTree() {
|
||||
|
||||
showDetailPane();
|
||||
|
||||
noteDetailService.switchToNote(noteId, true);
|
||||
const notePath = await treeUtils.getNotePath(node);
|
||||
|
||||
noteDetailService.switchToNote(notePath);
|
||||
},
|
||||
expand: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, true),
|
||||
collapse: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, false),
|
||||
|
||||
Reference in New Issue
Block a user