mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Changed confirm publish modal wording
refs https://github.com/TryGhost/Team/issues/1169 - switched from "no members" to "0 members"
This commit is contained in:
parent
24eeaf68ff
commit
35c8be787c
@ -1,5 +1,5 @@
|
||||
{{#if @filter}}
|
||||
<GhMembersFilterCount @filter={{concat "subscribed:true+(" @filter ")"}} @knownCount={{@knownCount}} />
|
||||
{{else}}
|
||||
no members
|
||||
0 members
|
||||
{{/if}}
|
@ -62,13 +62,13 @@ export default class ModalsEditorConfirmPublishComponent extends Component {
|
||||
|
||||
if (sendEmailWhenPublished === 'none') {
|
||||
this.memberCount = 0;
|
||||
this.memberCountString = 'no members';
|
||||
this.memberCountString = '0 members';
|
||||
}
|
||||
|
||||
const filter = `subscribed:true+(${sendEmailWhenPublished})`;
|
||||
|
||||
this.memberCount = sendEmailWhenPublished ? yield this.membersCountCache.count(filter) : 0;
|
||||
this.memberCountString = sendEmailWhenPublished ? yield this.membersCountCache.countString(filter) : 'no members';
|
||||
this.memberCountString = sendEmailWhenPublished ? yield this.membersCountCache.countString(filter) : '0 members';
|
||||
}
|
||||
|
||||
@task
|
||||
|
Loading…
Reference in New Issue
Block a user