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