X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fproject_management%2Fsrc%2Fdashboard%2Fdashboard.jsx;h=f8018d5e32ff0cba1225f5ac2bc1c01501c2705b;hp=e9847e5f43780d39201e5e09ab0b0ff8027e46d1;hb=407555cd9dac9e0dd9889da18082ae275a0a44fd;hpb=a719495cecbdffc6c5bbd078f725e3a9b3045b3f diff --git a/skyquake/plugins/project_management/src/dashboard/dashboard.jsx b/skyquake/plugins/project_management/src/dashboard/dashboard.jsx index e9847e5f4..f8018d5e3 100644 --- a/skyquake/plugins/project_management/src/dashboard/dashboard.jsx +++ b/skyquake/plugins/project_management/src/dashboard/dashboard.jsx @@ -322,9 +322,13 @@ class ProjectManagementDashboard extends React.Component { { state.projectUsers.map((u,i)=> { - let userRoles = u.role && u.role.map((r) => { - return r.role; - }) || []; + let userRoles = [] + u.role && u.role.map((r) => { + userRoles.push(r.role); + }); + u["rw-project-mano:mano-role"] && u["rw-project-mano:mano-role"].map((r) => { + userRoles.push(r.role); + }); return ( {!state.isReadOnly ?