Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fix post.author.image!
Browse files Browse the repository at this point in the history
- this one slipped through because there is no UI usage at the moment
  • Loading branch information
kirrg001 committed Apr 24, 2017
1 parent 0d0032a commit d588f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/gh-posts-list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default Component.extend({
return this.get('post.author.name') || this.get('post.author.email');
}),

authorAvatar: computed('post.author.image', function () {
return this.get('post.author.image') || `${this.get('ghostPaths.assetRoot')}/img/user-image.png`;
authorAvatar: computed('post.author.profileImage', function () {
return this.get('post.author.profileImage') || `${this.get('ghostPaths.assetRoot')}/img/user-image.png`;
}),

authorAvatarBackground: computed('authorAvatar', function () {
Expand Down

0 comments on commit d588f21

Please sign in to comment.