diff --git a/src/components/user/User.jsx b/src/components/user/User.jsx index 383272f..f0f0244 100644 --- a/src/components/user/User.jsx +++ b/src/components/user/User.jsx @@ -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) => { @@ -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()}