X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fuser_management%2Fsrc%2Fdashboard%2Fdashboard.jsx;h=70386c7ac3644618122f657dbdc038a6eedb66a5;hp=7af0614211993c432ec164c7df5a58ecf6b709bb;hb=0d60d777e67c32b42692dc8e952827671ff3b8d1;hpb=d5f18198d2750fb2a4613846a9885f7b74b6ca93 diff --git a/skyquake/plugins/user_management/src/dashboard/dashboard.jsx b/skyquake/plugins/user_management/src/dashboard/dashboard.jsx index 7af061421..70386c7ac 100644 --- a/skyquake/plugins/user_management/src/dashboard/dashboard.jsx +++ b/skyquake/plugins/user_management/src/dashboard/dashboard.jsx @@ -321,18 +321,43 @@ class UserManagementDashboard extends React.Component { - - - + { + !state.isEditUser ? + + + + + + + + + + { + this.state.projects && this.state.projects.ids && this.state.projects.ids.map((p,i)=> { + let project = self.state.projects.data[p]; + let userRoles = []; + return ( + + + + + ) + }) + } + +
ProjectRole
+ {p} + + { + project.map(function(k) { + return
{k}
+ }) + } +
+
+ : null + } + {passwordSectionHTML}