We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c485e9 commit 77800f0Copy full SHA for 77800f0
1 file changed
app/components/signout-link.js
@@ -7,7 +7,7 @@ export default Ember.Component.extend({
7
if(this.get('avatarAttribute')){
8
this.setProperties({
9
isAvatarPresent: !Ember.isEmpty(currentUser.get(this.get('avatarAttribute'))),
10
- avatarUrl: currentUser.get(this.get('avatarAttribute')).get('thumb_url')
+ avatarUrl: currentUser.get(this.get('avatarAttribute.thumb_url'))
11
});
12
}
13
this.set('username', currentUser.get(this.get('nameAttribute')));
@@ -18,4 +18,4 @@ export default Ember.Component.extend({
18
this.sendAction('signoutAction');
19
20
21
-});
+});
0 commit comments