0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 Fixed missing default user image on setup screens (#996)

no issue
- changed image location to be assigned to a variable so the asset rewriter recognises it
This commit is contained in:
CriticalRespawn 2018-04-03 11:59:33 +01:00 committed by Kevin Ansfield
parent 6bff262849
commit 0c3879294b

View file

@ -45,7 +45,8 @@ export default Component.extend({
init() {
this._super(...arguments);
this._defaultImageUrl = `${this.get('ghostPaths.assetRoot')}img/user-image.png`;
let defaultImage = '/img/user-image.png';
this._defaultImageUrl = `${this.get('ghostPaths.assetRoot')}${defaultImage}`;
this._setPlaceholderImage(this._defaultImageUrl);
},