From bc2cad397a055aa635f3107f84b9f4c457990088 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 28 Jun 2017 09:36:13 -0400 Subject: Fix searching by user id in system console (#6763) --- webapp/components/admin_console/system_users/system_users.jsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'webapp') diff --git a/webapp/components/admin_console/system_users/system_users.jsx b/webapp/components/admin_console/system_users/system_users.jsx index 60f294dbd..5c8aa9bfd 100644 --- a/webapp/components/admin_console/system_users/system_users.jsx +++ b/webapp/components/admin_console/system_users/system_users.jsx @@ -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 -- cgit v1.2.3-1-g7c22