PlatformRoleMgmt: Appropriate user is now deleted
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 25 Apr 2017 17:05:29 +0000 (13:05 -0400)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 25 Apr 2017 17:05:29 +0000 (13:05 -0400)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/user_management/src/platformRoleManagement/platformRoleManagement.jsx
skyquake/plugins/user_management/src/platformRoleManagement/platformRoleManagementStore.js

index 216bea8..4278d74 100644 (file)
@@ -219,7 +219,7 @@ class PlatformRoleManagement extends React.Component {
                                         <tr key={i}>
                                             {!state.isReadOnly ? <td><span
                                                                         className="removeInput"
-                                                                        onClick={self.removeUserFromProject.bind(self, u)}
+                                                                        onClick={self.removeUserFromProject.bind(self, i)}
                                                                     >
                                                                         <img src={imgRemove} />
 
index dd8704d..8a5b7f8 100644 (file)
@@ -65,9 +65,7 @@ export default class PlatformRoleManagementStore {
         });
         this.setState(state)
     }
-    // editPlatform(isReadOnly) {
-    //     this.platformEdit(isReadOnly);
-    // }
+
     handleCancelEdit() {
 
     }