mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Merge pull request #4393 from marshmalien/4392-org-inv-link
Add link to organization inventory list Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
2e48718746
@ -68,6 +68,7 @@ export default ['$scope', '$rootScope', '$location',
|
||||
}
|
||||
|
||||
item.kind_label = item.kind === '' ? i18n._('Inventory') : (item.kind === 'smart' ? i18n._('Smart Inventory'): i18n._('Inventory'));
|
||||
item.linkToDetails = (item.kind && item.kind === 'smart') ? `inventories.editSmartInventory({smartinventory_id:${item.id}})` : `inventories.edit({inventory_id:${item.id}})`;
|
||||
|
||||
return item;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user