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.
|
Generate the page, but don't include it in overviews of the parent.
|
||||||
*/
|
*/
|
||||||
case hide
|
case hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
extension PageState {
|
extension PageState {
|
||||||
@ -23,7 +23,7 @@ extension PageState {
|
|||||||
switch self {
|
switch self {
|
||||||
case .standard, .draft:
|
case .standard, .draft:
|
||||||
return true
|
return true
|
||||||
case .hide:
|
case .hidden:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -34,7 +34,7 @@ extension PageState {
|
|||||||
return true
|
return true
|
||||||
case .draft:
|
case .draft:
|
||||||
return false
|
return false
|
||||||
case .hide:
|
case .hidden:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user