mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 17:51:06 -03:30
Only show sync button on inventories with sources
This commit is contained in:
@@ -93,7 +93,7 @@ export default ['i18n', function(i18n) {
|
||||
mode: 'all',
|
||||
ngClick: 'syncInventory(inventory)',
|
||||
awToolTip: i18n._('Sync all inventory sources'),
|
||||
ngShow: "inventory.kind === ''",
|
||||
ngShow: "inventory.kind === '' && inventory.has_inventory_sources",
|
||||
dataPlacement: "top",
|
||||
},
|
||||
edit: {
|
||||
|
||||
Reference in New Issue
Block a user