Rename page state hidden
This commit is contained in:
parent
3d6440e7c8
commit
4fd61a5a69
@ -14,7 +14,7 @@ enum PageState: String {
|
||||
/**
|
||||
Generate the page, but don't include it in overviews of the parent.
|
||||
*/
|
||||
case hide
|
||||
case hidden
|
||||
}
|
||||
|
||||
extension PageState {
|
||||
@ -23,7 +23,7 @@ extension PageState {
|
||||
switch self {
|
||||
case .standard, .draft:
|
||||
return true
|
||||
case .hide:
|
||||
case .hidden:
|
||||
return false
|
||||
}
|
||||
}
|
||||
@ -34,7 +34,7 @@ extension PageState {
|
||||
return true
|
||||
case .draft:
|
||||
return false
|
||||
case .hide:
|
||||
case .hidden:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user