mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 18:20:00 -03:30
Fixed org inventory name link
This commit is contained in:
@@ -235,8 +235,13 @@ export default ['$scope', '$rootScope', '$location',
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.editInventory = function(id) {
|
$scope.editInventory = function (inventory) {
|
||||||
$state.go('inventories.edit', { inventory_id: id });
|
if(inventory.kind && inventory.kind === 'smart') {
|
||||||
|
$state.go('inventories.editSmartInventory', {smartinventory_id: inventory.id});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$state.go('inventories.edit', {inventory_id: inventory.id});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Failed jobs link. Go to the jobs tabs, find all jobs for the inventory and sort by status
|
// Failed jobs link. Go to the jobs tabs, find all jobs for the inventory and sort by status
|
||||||
|
|||||||
Reference in New Issue
Block a user