Skip to content
Snippets Groups Projects
Commit c52b8cfc authored by Ndèye Anna Ndiaye's avatar Ndèye Anna Ndiaye Committed by Larbi Gharib
Browse files

display First name + last name instead of username: group et contact

Change-Id: I4e1e59694c98a4b981cc8cf9a664b2ca399811e0
parent 340e599c
No related branches found
No related tags found
No related merge requests found
......@@ -106,11 +106,11 @@ export default function TemporaryDrawer(props) {
addingToGroup
?
<ListItem button key={user.username} onClick={() => {addUserToGroup(user.username)}} >
<AddCircleOutlineIcon style={{ marginRight: "10px"}} /><ListItemText primary={user.username} />
<AddCircleOutlineIcon style={{ marginRight: "10px"}} /><ListItemText primary={user.firstName+" "+user.lastName} />
</ListItem>
:
<ListItem button key={user.username} onClick={() => {addContactToUser(user.jamiId)}} >
<AddCircleOutlineIcon style={{ marginRight: "10px"}} /><ListItemText primary={user.username} />
<AddCircleOutlineIcon style={{ marginRight: "10px"}} /><ListItemText primary={user.firstName+" "+user.lastName} />
</ListItem>
))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment