mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Updated subscribed member count in publish menu used for enabling/disabling email UI
refs https://github.com/TryGhost/Team/issues/1538
This commit is contained in:
parent
968af15235
commit
38bc4705cd
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export default class GhPublishMenuDraftComponent extends Component {
|
|||
const user = yield this.session.user;
|
||||
|
||||
if (user.isAdmin) {
|
||||
const result = yield this.store.query('member', {limit: 1, filter: 'subscribed:true'});
|
||||
const result = yield this.store.query('member', {limit: 1, filter: 'newsletters.status:active'});
|
||||
this.totalMemberCount = result.meta.pagination.total;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue