mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 22:48:02 -03:30
Initialize list with none selected
This commit is contained in:
parent
04c535e3f9
commit
014520ee2b
@ -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