summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-06-28 09:36:13 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-06-28 09:36:13 -0400
commitbc2cad397a055aa635f3107f84b9f4c457990088 (patch)
tree1cf5aae63c674c2620dc9797270fb09da0565c8c
parent58b32319160f9f15865db6426bb6b4e72415a064 (diff)
downloadchat-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.jsx8
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