mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
fix missing user avatars in team list (#677)
closes https://github.com/TryGhost/Ghost/issues/8389 - changed `user.image` to `user.profileImage`
This commit is contained in:
parent
fb2fa06b48
commit
5e5003126c
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ export default Component.extend({
|
||||||
return `${this.get('ghostPaths.assetRoot')}/img/user-image.png`;
|
return `${this.get('ghostPaths.assetRoot')}/img/user-image.png`;
|
||||||
}),
|
}),
|
||||||
|
|
||||||
userImageBackground: computed('user.image', 'userDefault', function () {
|
userImageBackground: computed('user.profileImage', 'userDefault', function () {
|
||||||
let url = this.get('user.image') || this.get('userDefault');
|
let url = this.get('user.profileImage') || this.get('userDefault');
|
||||||
let safeUrl = Handlebars.Utils.escapeExpression(url);
|
let safeUrl = Handlebars.Utils.escapeExpression(url);
|
||||||
|
|
||||||
return htmlSafe(`background-image: url(${safeUrl})`);
|
return htmlSafe(`background-image: url(${safeUrl})`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue