mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 02:58:13 -03:30
Remove expand/collapse from org access list
This commit is contained in:
@@ -105,7 +105,6 @@ class OrganizationAccessList extends React.Component {
|
||||
count: 0,
|
||||
sortOrder: 'ascending',
|
||||
sortedColumnKey: 'username',
|
||||
isCompact: false,
|
||||
showWarning: false,
|
||||
warningTitle: '',
|
||||
warningMsg: '',
|
||||
@@ -117,8 +116,6 @@ class OrganizationAccessList extends React.Component {
|
||||
|
||||
this.fetchOrgAccessList = this.fetchOrgAccessList.bind(this);
|
||||
this.onSetPage = this.onSetPage.bind(this);
|
||||
this.onExpand = this.onExpand.bind(this);
|
||||
this.onCompact = this.onCompact.bind(this);
|
||||
this.onSort = this.onSort.bind(this);
|
||||
this.getQueryParams = this.getQueryParams.bind(this);
|
||||
this.removeAccessRole = this.removeAccessRole.bind(this);
|
||||
@@ -136,14 +133,6 @@ class OrganizationAccessList extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
onExpand () {
|
||||
this.setState({ isCompact: false });
|
||||
}
|
||||
|
||||
onCompact () {
|
||||
this.setState({ isCompact: true });
|
||||
}
|
||||
|
||||
onSetPage (pageNumber, pageSize) {
|
||||
const { sortOrder, sortedColumnKey } = this.state;
|
||||
const page = parseInt(pageNumber, 10);
|
||||
@@ -343,10 +332,6 @@ class OrganizationAccessList extends React.Component {
|
||||
columns={this.columns}
|
||||
onSearch={() => { }}
|
||||
onSort={this.onSort}
|
||||
onCompact={this.onCompact}
|
||||
onExpand={this.onExpand}
|
||||
isCompact={isCompact}
|
||||
showExpandCollapse
|
||||
/>
|
||||
{showWarning && (
|
||||
<AlertModal
|
||||
|
||||
Reference in New Issue
Block a user