mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
collapse command will collapse the whole tree, including the current active note path, fixes #3664
This commit is contained in:
@@ -833,11 +833,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
|
||||
await this.filterHoistedBranch();
|
||||
|
||||
const activeNode = await this.getNodeFromPath(appContext.tabManager.getActiveContextNotePath());
|
||||
|
||||
if (activeNode) {
|
||||
activeNode.setActive({noEvents: true, noFocus: false});
|
||||
}
|
||||
// don't activate the active note, see discussion in https://github.com/zadam/trilium/issues/3664
|
||||
}
|
||||
|
||||
async expandTree(node = null) {
|
||||
|
||||
Reference in New Issue
Block a user