X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Fuser_management%2Fsrc%2Fdashboard%2Fdashboard.jsx;h=f946cbb227f149b87c23f5629b3fb8c228dcd649;hb=5fe8f677ae26b665ef8239086e520da56f675939;hp=2ff5f4991b66e20f13e1f9950a5f17e66359cfa9;hpb=8e18bc5751d4d1d584396dd1d95c47835838399a;p=osm%2FUI.git diff --git a/skyquake/plugins/user_management/src/dashboard/dashboard.jsx b/skyquake/plugins/user_management/src/dashboard/dashboard.jsx index 2ff5f4991..f946cbb22 100644 --- a/skyquake/plugins/user_management/src/dashboard/dashboard.jsx +++ b/skyquake/plugins/user_management/src/dashboard/dashboard.jsx @@ -79,7 +79,7 @@ class UserManagementDashboard extends React.Component { cancelEditUser = () => { this.actions.editUser(true) } - closePanel = () => { + osePanel = () => { this.actions.handleCloseUserPanel(); } // updateUser = (e) => { @@ -233,10 +233,12 @@ class UserManagementDashboard extends React.Component { platformRoles.push(
{`${role}: ${u.platformRoles[role]}`}
) } return ( -
this[`user-ref-${k}`] = el} className={`tableRow tableRow--data ${((self.state.activeIndex == k) && self.state.userOpen) ? 'tableRow--data-active' : ''}`} key={k}> +
this[`user-ref-${k}`] = el} className={`tableRow tableRow--data ${((self.state.activeIndex == k) && self.state.userOpen) ? 'tableRow--data-active' : ''}`} + key={k} + onClick={self.viewUser.bind(null, u, k)}>
+ > {u['user-name']}