mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Fixed default email recipients when visibility is members
or paid
no issue - since we reverted the post visibility changes, the visibility filter passed to `<GhMembersSegmentSelect>` was passing through `'members'` or `'paid'` which aren't known values
This commit is contained in:
parent
043f5751ea
commit
77bd0ab6f1
@ -147,6 +147,14 @@ export default Component.extend({
|
||||
return 'status:free,status:-free';
|
||||
}
|
||||
|
||||
if (this.post.visibility === 'members') {
|
||||
return 'status:free,status:-free';
|
||||
}
|
||||
|
||||
if (this.post.visibility === 'paid') {
|
||||
return 'status:-free';
|
||||
}
|
||||
|
||||
return this.post.visibility;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user