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
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
128eab2de4
Коммит
f13b2ffbe1
@@ -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}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
Ссылка в новой задаче
Block a user