mirror of
https://github.com/zadam/trilium.git
synced 2026-01-15 02:54:24 +01:00
feat(tree): hide arrow if children are hidden
This commit is contained in:
parent
4f6c10d995
commit
afefbe154b
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user