mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-02 13:42:20 +00:00
Adopting new material guidelines for chips
See https://material.io/design/components/chips.html
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
if (!this.$$image)
|
||||
this.$$image = this.image;
|
||||
if (!this.$$image)
|
||||
this.$$image = Card.$Preferences.avatar(this.$$email, 32, {no_404: true});
|
||||
this.$$image = Card.$Preferences.avatar(this.$$email, 40, {no_404: true});
|
||||
if (this.hasphoto)
|
||||
this.photoURL = Card.$$resource.path(this.pid, this.id, 'photo');
|
||||
if (this.isgroup)
|
||||
|
||||
@@ -273,9 +273,7 @@
|
||||
if (user.image)
|
||||
user.$$image = user.image;
|
||||
else
|
||||
vm.preferences.avatar(user.c_email, 32, {no_404: true}).then(function(url) {
|
||||
user.$$image = url;
|
||||
});
|
||||
user.$$image = vm.preferences.avatar(user.c_email, 40, {no_404: true});
|
||||
}
|
||||
});
|
||||
return users;
|
||||
|
||||
Reference in New Issue
Block a user