Commit 4b042c89 by Ha Huynh Committed by Torkel Ödegaard

Profile: Fix issue with user profile not showing more than sessions some times (#19578)

* fix <react-profile-wrapper> crashing

* refix crashing profile page
parent 50acb37a
......@@ -23,13 +23,15 @@ export const ReactProfileWrapper = () => (
)}
<SharedPreferences resourceUri="user" />
<UserTeams isLoading={states.loadTeams} loadTeams={api.loadTeams} teams={teams} />
<UserOrganizations
isLoading={states.loadOrgs}
setUserOrg={api.setUserOrg}
loadOrgs={api.loadOrgs}
orgs={orgs}
user={user}
/>
{!states.loadUser && (
<UserOrganizations
isLoading={states.loadOrgs}
setUserOrg={api.setUserOrg}
loadOrgs={api.loadOrgs}
orgs={orgs}
user={user}
/>
)}
</>
);
}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment