mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Adds option to hide expand/collapse in toolbar and hides it for the org list
This commit is contained in:
parent
b2ba863569
commit
4a8791693f
@ -85,7 +85,8 @@ class DataListToolbar extends React.Component {
|
||||
onSort,
|
||||
sortedColumnKey,
|
||||
sortOrder,
|
||||
addUrl
|
||||
addUrl,
|
||||
hideExpandCollapse
|
||||
} = this.props;
|
||||
const {
|
||||
// isActionDropdownOpen,
|
||||
@ -202,7 +203,7 @@ class DataListToolbar extends React.Component {
|
||||
</Button>
|
||||
</ToolbarItem>
|
||||
</ToolbarGroup>
|
||||
<ToolbarGroup>
|
||||
<ToolbarGroup className={hideExpandCollapse ? 'pf-u-display-none' : null}>
|
||||
<ToolbarItem>
|
||||
<Button variant="plain" aria-label={i18n._(t`Expand`)}>
|
||||
<BarsIcon />
|
||||
|
||||
@ -205,6 +205,7 @@ class Organizations extends Component {
|
||||
onSearch={this.onSearch}
|
||||
onSort={this.onSort}
|
||||
onSelectAll={this.onSelectAll}
|
||||
hideExpandCollapse
|
||||
/>
|
||||
<I18n>
|
||||
{({ i18n }) => (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user