use default avatar instead of ff logo for users with no avatar
This commit is contained in:
parent
66f52b8c41
commit
6b33192a55
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue