fix hidden subtree appearing after collapse, #2922

This commit is contained in:
zadam 2023-02-13 15:09:57 +01:00
parent fc7da015fe
commit 17085e5578

View file

@ -832,6 +832,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
});
await this.filterHoistedBranch();
const activeNode = await this.getNodeFromPath(appContext.tabManager.getActiveContextNotePath());
if (activeNode) {
@ -1079,6 +1081,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
}
}, false);
this.filterHoistedBranch();
}, 600 * 1000);
}