0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/ghost/admin
Kevin Ansfield 190f2e905d Fixed Ember Data error when navigating to Staff screen
no issue

- if only some roles have been loaded, such as from embedded user records in posts, navigating to the Staff screen when invites exist for roles that have not yet been loaded would result in an Ember Data error
- the error occurs because we use `invite.role.*` in the template but we've specified `{async: false}` in the `belongsTo` relationship for `invite.role` which prevents Ember Data automatically querying the API
- by always fetching the roles list before fetching the invites list we prevent the error but we do introduce an extra API request in some circumstances
2020-01-10 13:53:58 +00:00
..
.github
app Fixed Ember Data error when navigating to Staff screen 2020-01-10 13:53:58 +00:00
config Unsilenced deprecations that are no longer triggered 2020-01-09 17:20:13 +00:00
lib Getting rid of super-thin font weights 2019-11-22 11:53:57 +01:00
mirage Fixed invite management tests 2020-01-08 15:37:06 +00:00
public/assets Refined email error modal 2019-11-22 14:31:03 +01:00
tests Fixed Ember Data record.toJSON() deprecation 2020-01-07 13:23:15 +00:00
.csscomb.json
.editorconfig
.ember-cli
.eslintignore
.eslintrc.js Update ember core (#1389) 2019-12-13 16:15:06 +01:00
.gitignore
.travis.yml Dropped Node 8.x support 2020-01-06 10:59:59 +00:00
.watchmanconfig
ember-cli-build.js
Gruntfile.js
LICENSE 2020 2020-01-07 18:38:25 +00:00
package.json Update dependency ember-infinity to v2 (#1453) 2020-01-07 09:54:26 +00:00
README.md 2020 2020-01-07 18:38:25 +00:00
renovate.json Reverted broccoli-concat to 4.0.0 2020-01-06 11:37:40 +00:00
SECURITY.md
testem.js
yarn.lock Update dependency ember-infinity to v2 (#1453) 2020-01-07 09:54:26 +00:00

Ghost-Admin

Build Status

This is the home of Ember.js based admin client that ships with Ghost.

Do you want to set up a Ghost blog? Check the getting started guide

Do you want to modify or contribute to Ghost-Admin? Please read how to install from source and swing by our forum if you need any help 😄

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2020 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.