Skip to content

Commit

Permalink
fix: details show for access role
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Feb 18, 2022
1 parent 4fc332e commit b14d288
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions admin-ui/plugins/admin/components/Roles/UiRoleDetailPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ import { Container, Row, Col } from '../../../../app/components'
import GluuFormDetailRow from '../../../../app/routes/Apps/Gluu/GluuFormDetailRow'

function UiRoleDetailPage({ row }) {
const { rowData } = row
return (
<React.Fragment>
<Container style={{ backgroundColor: '#F5F5F5' }}>
<Row>
<Col sm={3}>
<GluuFormDetailRow
label="fields.name"
value={row.role}
value={rowData.role}
isBadge={true}
/>
</Col>
<Col sm={9}>
<GluuFormDetailRow
label="fields.description"
value={row.description}
value={rowData.description}
lsize={3}
rsize={9}
/>
Expand Down

0 comments on commit b14d288

Please sign in to comment.