Fix overview of nested pages
This commit is contained in:
parent
86440af01f
commit
05d2c48b57
@ -366,7 +366,7 @@ extension Element {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var hasNestingElements: Bool {
|
var hasNestingElements: Bool {
|
||||||
elements.contains { $0.containsElements }
|
elements.contains { $0.hasVisibleChildren }
|
||||||
}
|
}
|
||||||
|
|
||||||
func itemsForOverview(_ count: Int? = nil) -> [Element] {
|
func itemsForOverview(_ count: Int? = nil) -> [Element] {
|
||||||
|
Loading…
Reference in New Issue
Block a user