feat(tree): hide arrow if children are hidden

This commit is contained in:
Elian Doran
2026-01-09 16:37:11 +02:00
parent 4f6c10d995
commit afefbe154b

View File

@@ -616,7 +616,9 @@ export default class FNote {
}
isFolder() {
return this.type === "search" || this.getFilteredChildBranches().length > 0;
if (this.hasLabel("subtreeHidden")) return false;
if (this.type === "search") return true;
return this.getFilteredChildBranches().length > 0;
}
getFilteredChildBranches() {