mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed visibility property on Tiers
refs https://github.com/TryGhost/Team/issues/2078 This property should be settable to either 'public' or 'none'
This commit is contained in:
parent
0978a808d6
commit
3811169d20
1 changed files with 4 additions and 1 deletions
|
@ -59,11 +59,14 @@ module.exports = class Tier {
|
|||
this.#status = validateStatus(value);
|
||||
}
|
||||
|
||||
/** @type {'public'} */
|
||||
/** @type {'public'|'none'} */
|
||||
#visibility;
|
||||
get visibility() {
|
||||
return this.#visibility;
|
||||
}
|
||||
set visibility(value) {
|
||||
this.#visibility = validateVisibility(value);
|
||||
}
|
||||
|
||||
/** @type {'paid'|'free'} */
|
||||
#type;
|
||||
|
|
Loading…
Add table
Reference in a new issue