summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/react/components/channel_header.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx
index f4e4078a5..39e3e767a 100644
--- a/web/react/components/channel_header.jsx
+++ b/web/react/components/channel_header.jsx
@@ -44,10 +44,10 @@ var ExtraMembers = React.createClass({
var count = this.props.members.length == 0 ? "-" : this.props.members.length;
count = this.props.members.length > 19 ? "20+" : count;
var data_content = "";
- var sortedMembers = this.state.extra_info.members
+ var sortedMembers = this.state.extra_info.members;
sortedMembers.sort(function(a,b) {
- return a.username.localeCompare(b.username)
+ return a.username.localeCompare(b.username);
})
sortedMembers.forEach(function(m) {