X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Fuser_management%2Fsrc%2FuserProfile%2FuserProfile.jsx;h=a7868583c9553f9a1de6ae42842ccdc17b3c16ee;hb=a0fefa94b21ae1620756cda0d22d5de90b9bcaa9;hp=67d55159e7c8dbb21d2fa3e40184480276051fc2;hpb=b5f45345dc77c112f4970d010febb7bb5a4335bd;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..a7868583c 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,64 @@ class UserProfileDashboard extends React.Component {