diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-28 09:36:13 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-06-28 09:36:13 -0400 |
commit | bc2cad397a055aa635f3107f84b9f4c457990088 (patch) | |
tree | 1cf5aae63c674c2620dc9797270fb09da0565c8c | |
parent | 58b32319160f9f15865db6426bb6b4e72415a064 (diff) | |
download | chat-bc2cad397a055aa635f3107f84b9f4c457990088.tar.gz chat-bc2cad397a055aa635f3107f84b9f4c457990088.tar.bz2 chat-bc2cad397a055aa635f3107f84b9f4c457990088.zip |
Fix searching by user id in system console (#6763)
-rw-r--r-- | webapp/components/admin_console/system_users/system_users.jsx | 8 |
1 files changed, 1 insertions, 7 deletions
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 |