mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed snippets not loading in background when accessing editor
no issue - add the missing snippets API query to the editor's background loaded
This commit is contained in:
parent
45bee39739
commit
3d48ce6bc4
@ -604,6 +604,8 @@ export default Controller.extend({
|
||||
let membersResponse = yield this.store.query('member', {limit: 1, filter: 'subscribed:true'});
|
||||
this.set('memberCount', get(membersResponse, 'meta.pagination.total'));
|
||||
}
|
||||
|
||||
yield this.store.query('snippet', {limit: 'all'});
|
||||
} catch (error) {
|
||||
this.set('memberCount', 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user