Generate content for pages with no visible children
This commit is contained in:
@ -337,6 +337,10 @@ struct Element {
|
||||
var needsFirstSection: Bool {
|
||||
showMostRecentSection || !featuredPages.isEmpty
|
||||
}
|
||||
|
||||
var hasVisibleChildren: Bool {
|
||||
!elements.filter { $0.state == .standard }.isEmpty
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: Paths
|
||||
|
Reference in New Issue
Block a user