Skip to content

Commit

Permalink
[#202] Fix RoleGroup select
Browse files Browse the repository at this point in the history
  • Loading branch information
palagdan committed Dec 6, 2024
1 parent 162f71c commit a8e3047
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/user/User.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class User extends React.Component {
this.i18n = this.props.i18n;
this.formatMessage = this.props.formatMessage;
this.state = { savedWithEmail: false };
// this._onRoleSelected = this._onRoleSelected.bind(this);
}

_onChange = (e) => {
Expand Down Expand Up @@ -304,7 +303,7 @@ class User extends React.Component {
labelWidth={3}
inputWidth={8}
onChange={this._onRoleGroupSelected}
value={user.roleGroup ? user.roleGroup : ""}
value={this.props.user.roleGroup ? this.props.user.roleGroup.uri : ""}
>
{this._generateGroupOptions()}
</HorizontalInput>
Expand Down

0 comments on commit a8e3047

Please sign in to comment.