Skip to content

Commit 5fe8fe1

Browse files
committed
feat(admin-ui): show list of users
1 parent 8949ff5 commit 5fe8fe1

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

admin-ui/plugins/admin/components/UserManagement/UserDetailViewPage.js

+9-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { Container, Row, Col } from '../../../../app/components'
33
import GluuFormDetailRow from '../../../../app/routes/Apps/Gluu/GluuFormDetailRow'
44
const UserDetailViewPage = ({ row }) => {
55
const { rowData } = row
6-
useEffect(() => {
7-
console.log(row)
8-
}, [row])
6+
97
return (
108
<React.Fragment>
119
<Container style={{ backgroundColor: '#F5F5F5' }}>
@@ -25,9 +23,16 @@ const UserDetailViewPage = ({ row }) => {
2523
<Col sm={4}>
2624
<GluuFormDetailRow label="fields.userName" value={rowData.userId} />
2725
</Col>
28-
<Col sm={6}>
26+
<Col sm={4}>
2927
<GluuFormDetailRow label="fields.email" value={rowData?.mail} />
3028
</Col>
29+
{rowData.customAttributes?.map((data, key) => {
30+
return (
31+
<Col sm={4} key={'customAttributes' + key}>
32+
<GluuFormDetailRow label={data.name} value={data?.values[0]} />
33+
</Col>
34+
)
35+
})}
3136
</Row>
3237
</Container>
3338
</React.Fragment>

0 commit comments

Comments
 (0)