continuing refactoring

This commit is contained in:
zadam
2020-01-15 21:36:01 +01:00
parent f98a20928c
commit 7963de0abc
12 changed files with 138 additions and 118 deletions

View File

@@ -101,7 +101,7 @@ export default class NoteTreeWidget extends BasicWidget {
const notePath = await treeUtils.getNotePath(data.node);
noteDetailService.switchToNote(notePath);
this.appContext.activateNote(notePath);
},
expand: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, true),
collapse: (event, data) => treeService.setExpandedToServer(data.node.data.branchId, false),