Skip to content

Commit

Permalink
use default avatar instead of ff logo for users with no avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
dannycoates committed Feb 8, 2019
1 parent 66f52b8 commit 6b33192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class User {
get avatar() {
const defaultAvatar = assets.get('user.svg');
if (this.info.avatarDefault) {
return assets.get('firefox_logo-only.svg');
return defaultAvatar;
}
return this.info.avatar || defaultAvatar;
}
Expand Down

0 comments on commit 6b33192

Please sign in to comment.