mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
add column for user ID in list of users
This commit is contained in:
parent
3f03dc98e4
commit
2a04039e2a
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ class Users extends Component {
|
|||
|
||||
<Table data={this.state.users}>
|
||||
<TableColumn title='Username' width='150' dataKey='username' />
|
||||
<TableColumn title='ID' width='150' dataKey='id' />
|
||||
<TableColumn title='E-mail' dataKey='mail' />
|
||||
<TableColumn title='Role' dataKey='role' modifier={(role) => this.getHumanRoleName(role)} />
|
||||
<TableColumn width='70' editButton deleteButton onEdit={index => this.setState({ editModal: true, modalData: this.state.users[index] })} onDelete={index => this.setState({ deleteModal: true, modalData: this.state.users[index] })} />
|
||||
|
|
Loading…
Add table
Reference in a new issue