cosmetic fixes

This commit is contained in:
or-else
2018-10-30 16:11:35 +03:00
parent 8c4e0e9068
commit c2f261b143
7 changed files with 12 additions and 11 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ const messages = defineMessages({
class ContactList extends React.Component {
render() {
var contactNodes = [];
var showCheckmark = Array.isArray(this.props.topicSelected);
const {formatMessage} = this.props.intl;
const showCheckmark = Array.isArray(this.props.topicSelected);
const contactNodes = [];
if (this.props.contacts && this.props.contacts.length > 0) {
this.props.contacts.map((c) => {
var key = c.topic ? c.topic : c.user;