mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Only show sync button on inventories with sources
This commit is contained in:
parent
eff4100092
commit
4a08ed333b
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user