use default avatar instead of ff logo for users with no avatar

This commit is contained in:
Danny Coates 2019-02-08 11:58:42 -08:00
parent 66f52b8c41
commit 6b33192a55
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export default class User {
get avatar() { get avatar() {
const defaultAvatar = assets.get('user.svg'); const defaultAvatar = assets.get('user.svg');
if (this.info.avatarDefault) { if (this.info.avatarDefault) {
return assets.get('firefox_logo-only.svg'); return defaultAvatar;
} }
return this.info.avatar || defaultAvatar; return this.info.avatar || defaultAvatar;
} }