Conversation subscreens share a header
// FREEBIE
This commit is contained in:
parent
c8aa2246dc
commit
234f937bc7
11 changed files with 128 additions and 189 deletions
|
@ -366,12 +366,10 @@
|
|||
if (this.avatarUrl) {
|
||||
return { url: this.avatarUrl, color: color };
|
||||
} else if (this.isPrivate()) {
|
||||
var content;
|
||||
if (!title) {
|
||||
content = '#';
|
||||
}
|
||||
var content = title.trim()[0];
|
||||
return { content: content, color: color };
|
||||
return {
|
||||
color: color,
|
||||
content: title ? title.trim()[0] : '#'
|
||||
};
|
||||
} else {
|
||||
return { url: '/images/group_default.png', color: color };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue