mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed email recipient list in publish menu not showing selected tiers
refs https://github.com/TryGhost/Team/issues/1032#issuecomment-918554923 - the email recipient menu in publish menu was not correctly translating the tiers in specific tier selection when matching post level access - in case of specific tier, visibility type on post is `filter` and the visibility filter data is in a separate field on post - `visibilityFilter`, so it got missed
This commit is contained in:
parent
06a8ca2b83
commit
3cec49e689
1 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,10 @@ export default Component.extend({
|
|||
return 'status:-free';
|
||||
}
|
||||
|
||||
if (this.post.visibility === 'filter') {
|
||||
return this.post.visibilityFilter;
|
||||
}
|
||||
|
||||
return this.post.visibility;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue