toggling archived notes caused appearance of hidden subtree, fixes #3519

This commit is contained in:
zadam 2023-01-13 11:25:58 +01:00
parent 88bc7402a2
commit 9479f1c1a1

View File

@ -1309,6 +1309,8 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
await this.tree.reload([rootNode]); await this.tree.reload([rootNode]);
}); });
await this.filterHoistedBranch();
if (activeNotePath) { if (activeNotePath) {
const node = await this.getNodeFromPath(activeNotePath, true); const node = await this.getNodeFromPath(activeNotePath, true);