mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 07:35:39 +00:00
(js) Improve sgAvatarImage
This commit is contained in:
@@ -154,6 +154,7 @@
|
||||
});
|
||||
if (this.isgroup)
|
||||
this.c_component = 'vlist';
|
||||
this.$avatarIcon = this.$isList()? 'group' : 'person';
|
||||
if (data.notes && data.notes.length)
|
||||
this.notes = _.map(data.notes, function(note) { return { 'value': note }; });
|
||||
else if (!this.notes || !this.notes.length)
|
||||
|
||||
Reference in New Issue
Block a user