mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 09:38:10 -03:30
Adds option to hide expand/collapse in toolbar and hides it for the org list
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user