fix(ui) - fixed roles fetch ee check
This commit is contained in:
parent
5f7ab496a9
commit
90598302bf
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ class ManageUsers extends React.PureComponent {
|
|||
closeModal = () => this.setState({ showModal: false });
|
||||
componentWillMount = () => {
|
||||
this.props.fetchList();
|
||||
this.props.fetchRoles();
|
||||
if (this.props.isEnterprise) {
|
||||
this.props.fetchRoles();
|
||||
}
|
||||
}
|
||||
|
||||
adminLabel = (user) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue