From 998d621155bcbcab4ae12f8f51c2d8d39d2d45c1 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Sat, 27 Feb 2016 11:25:36 -0500
Subject: Removed MemberList

---
 web/react/components/member_list.jsx | 56 ------------------------------------
 1 file changed, 56 deletions(-)
 delete mode 100644 web/react/components/member_list.jsx

(limited to 'web/react/components/member_list.jsx')

diff --git a/web/react/components/member_list.jsx b/web/react/components/member_list.jsx
deleted file mode 100644
index 62d600279..000000000
--- a/web/react/components/member_list.jsx
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
-// See License.txt for license information.
-
-import MemberListItem from './member_list_item.jsx';
-
-import {FormattedMessage} from 'mm-intl';
-
-export default class MemberList extends React.Component {
-    render() {
-        var members = [];
-
-        if (this.props.memberList !== null) {
-            members = this.props.memberList;
-        }
-
-        var message = null;
-        if (members.length === 0) {
-            message = (
-                <tr><td>
-                    <FormattedMessage
-                        id='member_list.noUsersAdd'
-                        defaultMessage='No users to add.'
-                    />
-                </td></tr>
-            );
-        }
-
-        return (
-            <table className='table more-table member-list-holder'>
-                <tbody>
-                    {members.map(function mymembers(member) {
-                        return (
-                            <MemberListItem
-                                key={member.id}
-                                member={member}
-                                isAdmin={this.props.isAdmin}
-                                handleInvite={this.props.handleInvite}
-                                handleRemove={this.props.handleRemove}
-                                handleMakeAdmin={this.props.handleMakeAdmin}
-                            />
-                        );
-                    }, this)}
-                    {message}
-                </tbody>
-            </table>
-        );
-    }
-}
-
-MemberList.propTypes = {
-    memberList: React.PropTypes.array,
-    isAdmin: React.PropTypes.bool,
-    handleInvite: React.PropTypes.func,
-    handleRemove: React.PropTypes.func,
-    handleMakeAdmin: React.PropTypes.func
-};
-- 
cgit v1.2.3-1-g7c22

