Skip to content

Commit

Permalink
feat(admin-ui): show list of users
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed May 26, 2022
1 parent 8949ff5 commit 5fe8fe1
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { Container, Row, Col } from '../../../../app/components'
import GluuFormDetailRow from '../../../../app/routes/Apps/Gluu/GluuFormDetailRow'
const UserDetailViewPage = ({ row }) => {
const { rowData } = row
useEffect(() => {
console.log(row)
}, [row])

return (
<React.Fragment>
<Container style={{ backgroundColor: '#F5F5F5' }}>
Expand All @@ -25,9 +23,16 @@ const UserDetailViewPage = ({ row }) => {
<Col sm={4}>
<GluuFormDetailRow label="fields.userName" value={rowData.userId} />
</Col>
<Col sm={6}>
<Col sm={4}>
<GluuFormDetailRow label="fields.email" value={rowData?.mail} />
</Col>
{rowData.customAttributes?.map((data, key) => {
return (
<Col sm={4} key={'customAttributes' + key}>
<GluuFormDetailRow label={data.name} value={data?.values[0]} />
</Col>
)
})}
</Row>
</Container>
</React.Fragment>
Expand Down

0 comments on commit 5fe8fe1

Please sign in to comment.