X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=skyquake%2Fplugins%2Fuser_management%2Fsrc%2FuserProfile%2FuserProfile.jsx;h=d7cb6005a4bec8f33ee862c27c3daf5e4c78e472;hb=2ff1ddba3d20163b110f27abfe7875d6edf2255c;hp=67d55159e7c8dbb21d2fa3e40184480276051fc2;hpb=a81c177c80a2428371b00015fbc9e3837f33fea8;p=osm%2FUI.git diff --git a/skyquake/plugins/user_management/src/userProfile/userProfile.jsx b/skyquake/plugins/user_management/src/userProfile/userProfile.jsx index 67d55159e..d7cb6005a 100644 --- a/skyquake/plugins/user_management/src/userProfile/userProfile.jsx +++ b/skyquake/plugins/user_management/src/userProfile/userProfile.jsx @@ -38,7 +38,6 @@ class UserProfileDashboard extends React.Component { } componentWillMount() { this.Store.listen(this.updateState); - this.Store.getUsers(); } componentWillUnmount() { this.Store.unlisten(this.updateState); @@ -173,6 +172,7 @@ class UserProfileDashboard extends React.Component { render() { let self = this; + const User = this.context.userProfile || {}; let html; let props = this.props; let state = this.state; @@ -182,74 +182,62 @@ class UserProfileDashboard extends React.Component {