mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 05:29:26 -02:30
Initialize list with none selected
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user