mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
continuing refactoring
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user