mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Rename AccessList to OrganizationAccessList and fix paths.
This commit is contained in:
parent
c6d810621f
commit
390832cc1a
@ -13,12 +13,12 @@ import {
|
||||
Link
|
||||
} from 'react-router-dom';
|
||||
|
||||
import Pagination from '../Pagination';
|
||||
import DataListToolbar from '../DataListToolbar';
|
||||
import Pagination from '../../../components/Pagination';
|
||||
import DataListToolbar from '../../../components/DataListToolbar';
|
||||
|
||||
import {
|
||||
parseQueryString,
|
||||
} from '../../qs';
|
||||
} from '../../../qs';
|
||||
|
||||
const userRolesWrapperStyle = {
|
||||
display: 'flex',
|
||||
@ -82,7 +82,7 @@ const UserName = ({ value, url }) => {
|
||||
return username;
|
||||
};
|
||||
|
||||
class AccessList extends React.Component {
|
||||
class OrganizationAccessList extends React.Component {
|
||||
columns = [
|
||||
{ name: i18nMark('Name'), key: 'first_name', isSortable: true },
|
||||
{ name: i18nMark('Username'), key: 'username', isSortable: true },
|
||||
@ -426,9 +426,9 @@ class AccessList extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
AccessList.propTypes = {
|
||||
OrganizationAccessList.propTypes = {
|
||||
getAccessList: PropTypes.func.isRequired,
|
||||
removeRole: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
export default AccessList;
|
||||
export default OrganizationAccessList;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import AccessList from '../../../../components/AccessList';
|
||||
import OrganizationAccessList from '../../components/OrganizationAccessList';
|
||||
|
||||
class OrganizationAccess extends React.Component {
|
||||
constructor (props) {
|
||||
@ -27,7 +27,7 @@ class OrganizationAccess extends React.Component {
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
<AccessList
|
||||
<OrganizationAccessList
|
||||
getAccessList={this.getOrgAccessList}
|
||||
removeRole={this.removeRole}
|
||||
match={match}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user