summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-06-30 10:23:46 -0400
committerChristopher Speller <crspeller@gmail.com>2015-06-30 10:23:46 -0400
commit3943d6a209f9119f5732b5e6ec8bdd36cf0566af (patch)
tree2ed495648caf296c2ce578de914c1523a75bed64 /web
parent236f7a9bd2807bc5340774d03b3a9bb05c9c6d0e (diff)
downloadchat-3943d6a209f9119f5732b5e6ec8bdd36cf0566af.tar.gz
chat-3943d6a209f9119f5732b5e6ec8bdd36cf0566af.tar.bz2
chat-3943d6a209f9119f5732b5e6ec8bdd36cf0566af.zip
Revert "MM-1289 Sorted the channel members popover lexigraphically"
Diffstat (limited to 'web')
-rw-r--r--web/react/components/channel_header.jsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx
index 39e3e767a..428d3ed81 100644
--- a/web/react/components/channel_header.jsx
+++ b/web/react/components/channel_header.jsx
@@ -44,13 +44,8 @@ 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;
- sortedMembers.sort(function(a,b) {
- return a.username.localeCompare(b.username);
- })
-
- sortedMembers.forEach(function(m) {
+ this.props.members.forEach(function(m) {
data_content += "<div style='white-space: nowrap'>" + m.username + "</div>";
});