Skip to content

Commit

Permalink
Update signout-link.js
Browse files Browse the repository at this point in the history
  • Loading branch information
OpakAlex committed Apr 5, 2015
1 parent 4c485e9 commit 77800f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/signout-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default Ember.Component.extend({
if(this.get('avatarAttribute')){
this.setProperties({
isAvatarPresent: !Ember.isEmpty(currentUser.get(this.get('avatarAttribute'))),
avatarUrl: currentUser.get(this.get('avatarAttribute')).get('thumb_url')
avatarUrl: currentUser.get(this.get('avatarAttribute.thumb_url'))
});
}
this.set('username', currentUser.get(this.get('nameAttribute')));
Expand All @@ -18,4 +18,4 @@ export default Ember.Component.extend({
this.sendAction('signoutAction');
}
}
});
});

0 comments on commit 77800f0

Please sign in to comment.