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:
parent
6bff262849
commit
0c3879294b
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ export default Component.extend({
|
||||||
init() {
|
init() {
|
||||||
this._super(...arguments);
|
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);
|
this._setPlaceholderImage(this._defaultImageUrl);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue