use notePath in tabContext

This commit is contained in:
zadam
2019-05-08 20:14:41 +02:00
parent bacf163c96
commit a7a42ff4af
4 changed files with 18 additions and 13 deletions

View File

@@ -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),