show indicators for channels

This commit is contained in:
or-else
2020-12-16 16:27:23 -08:00
parent b014592381
commit 4d450e6b85
8 changed files with 19 additions and 5 deletions
+1
View File
@@ -68,6 +68,7 @@ export default class Contact extends React.Component {
</div>
<div className="text-box">
<div><span className="contact-title">{title}</span>
{this.props.isChannel ? <img src="/img/channel.png" className="channel" alt="channel" /> : null}
<UnreadBadge count={this.props.unread} /><ContactBadges badges={icon_badges} />
</div>
{this.props.comment ? <div className="contact-comment">{this.props.comment}</div> : null}