Respond to PR feedback.

This commit is contained in:
Kia Lam
2019-03-05 12:01:06 -05:00
parent 35ecd83214
commit 9f86fc2def
7 changed files with 101 additions and 135 deletions

View File

@@ -6,7 +6,6 @@ class OrganizationAccess extends React.Component {
super(props);
this.getOrgAccessList = this.getOrgAccessList.bind(this);
this.getUserRoles = this.getUserRoles.bind(this);
}
getOrgAccessList (id, params) {
@@ -14,11 +13,6 @@ class OrganizationAccess extends React.Component {
return api.getOrganzationAccessList(id, params);
}
getUserRoles (id) {
const { api } = this.props;
return api.getUserRoles(id);
}
render () {
const {
location,
@@ -29,7 +23,6 @@ class OrganizationAccess extends React.Component {
return (
<AccessList
getAccessList={this.getOrgAccessList}
getUserRoles={this.getUserRoles}
match={match}
location={location}
history={history}