From f13b2ffbe1c92fce1f031db7ecee2477d0e69621 Mon Sep 17 00:00:00 2001
From: doh5 <doo@mattermost.com>
Date: Wed, 17 May 2017 22:19:17 +0900
Subject: Add IDs to the system console user list, its name and email (#6419)

* Update system_users.jsx

* Update user_list.jsx

* Update user_list.jsx

* Update user_list.jsx

* Update user_list_row.jsx

* Update user_list_row.jsx
---
 webapp/components/user_list.jsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'webapp/components/user_list.jsx')

diff --git a/webapp/components/user_list.jsx b/webapp/components/user_list.jsx
index 62301b852..ceb6f9780 100644
--- a/webapp/components/user_list.jsx
+++ b/webapp/components/user_list.jsx
@@ -7,6 +7,8 @@ import LoadingScreen from 'components/loading_screen.jsx';
 import React from 'react';
 import {FormattedMessage} from 'react-intl';
 
+import Constants from 'utils/constants.jsx';
+
 export default class UserList extends React.Component {
     constructor(props) {
         super(props);
@@ -27,7 +29,7 @@ export default class UserList extends React.Component {
         if (users == null) {
             return <LoadingScreen/>;
         } else if (users.length > 0) {
-            content = users.map((user) => {
+            content = users.map((user, index) => {
                 return (
                     <UserListRow
                         key={user.id}
@@ -36,6 +38,7 @@ export default class UserList extends React.Component {
                         actions={this.props.actions}
                         actionProps={this.props.actionProps}
                         actionUserProps={this.props.actionUserProps[user.id]}
+                        userCount={(index >= 0 && index < Constants.TEST_ID_COUNT) ? index : -1}
                     />
                 );
             });
-- 
cgit v1.2.3-1-g7c22

