mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 02:58:13 -03:30
Respond to PR feedback.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user