Handle characters getting added to the channelname when joining, throw more ES6 at everything
This commit is contained in:
parent
fca2985d9b
commit
ed9a1c3216
8 changed files with 25 additions and 53 deletions
|
@ -41,7 +41,7 @@ var UserList = React.createClass({
|
|||
if (!tab.channel || tab.channel[0] !== '#') {
|
||||
style.display = 'none';
|
||||
} else {
|
||||
users = _.map(channelStore.getUsers(tab.server, tab.channel), function(user) {
|
||||
users = _.map(channelStore.getUsers(tab.server, tab.channel), (user) => {
|
||||
return <UserListItem key={user.nick} user={user} />;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue