mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-23 17:23:34 -05:00
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