mirror of
https://github.com/ansible/awx.git
synced 2026-04-05 01:59:25 -02: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',
|
mode: 'all',
|
||||||
ngClick: 'syncInventory(inventory)',
|
ngClick: 'syncInventory(inventory)',
|
||||||
awToolTip: i18n._('Sync all inventory sources'),
|
awToolTip: i18n._('Sync all inventory sources'),
|
||||||
ngShow: "inventory.kind === ''",
|
ngShow: "inventory.kind === '' && inventory.has_inventory_sources",
|
||||||
dataPlacement: "top",
|
dataPlacement: "top",
|
||||||
},
|
},
|
||||||
edit: {
|
edit: {
|
||||||
|
|||||||
Reference in New Issue
Block a user