Skip to content
This repository was archived by the owner on Aug 25, 2021. It is now read-only.

Commit 338cf20

Browse files
committed
Fix rbacAssignUserTags component to match miq API.
1 parent 5c8af1c commit 338cf20

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/rbac-forms/rbacAssignUserTags.jsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,7 @@ class RbacAssignCompanyTags extends Component {
170170
type: 'pf',
171171
name: 'user',
172172
}}
173-
rows={[...users.map(({ role, current_group, ...rest }) => ({ // eslint-disable-line camelcase
174-
role: role.label,
175-
current_group: current_group.label,
176-
...rest,
177-
}))]}
173+
rows={[...users]}
178174
columns={columns}
179175
rowKey="id"
180176
rowClick={() => {}}

0 commit comments

Comments
 (0)