Fix searching by user id in system console (#6763)

This commit is contained in:
Joram Wilander
2017-06-28 09:36:13 -04:00
committed by Harrison Healey
parent 58b3231916
commit bc2cad397a

View File

@@ -260,13 +260,7 @@ export default class SystemUsers extends React.Component {
return;
}
this.props.actions.getUser(
id,
() => {
this.setState({
loading: false
});
},
this.props.actions.getUser(id).then(
() => {
this.setState({
loading: false