Skip to content

Commit

Permalink
Fixed SHIBUI-2486 role dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Dec 5, 2022
1 parent 1b88cec commit 91ff7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/admin/component/AccessRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function AccessRequest({ users, roles, onDeleteUser, onChangeUserRole })
</label>
<div className="col">
<Form.Select id={`role-${i}`} name={user.username} value={user.role} className="form-control form-control-sm"
disablevalidation="true" onChange={(event) => onChangeUserRole(user, event.target.value)}>
disablevalidation="true" onChange={(event) => onChangeUserRole({user, role: event.target.value})}>
{roles.map((role, ridx) =>
<option value={role} key={ridx}>{ role }</option>
)}
Expand Down

0 comments on commit 91ff7e8

Please sign in to comment.