mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Merge pull request #5511 from jakemcdermott/ui-next-fix-inv-list-select-all-state
Initialize inventory list with none selected Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
77b8f345ae
@ -146,7 +146,8 @@ class InventoriesList extends Component {
|
||||
const { match, i18n } = this.props;
|
||||
const canAdd =
|
||||
actions && Object.prototype.hasOwnProperty.call(actions, 'POST');
|
||||
const isAllSelected = selected.length === inventories.length;
|
||||
const isAllSelected =
|
||||
selected.length === inventories.length && selected.length !== 0;
|
||||
const addButton = (
|
||||
<AddDropDownButton
|
||||
key="add"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user