mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
fix job details linking to smart inventories (#7013)
This commit is contained in:
@@ -66,7 +66,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
||||
}
|
||||
else if(key === 'inventory') {
|
||||
if($scope.job.summary_fields.inventory && $scope.job.summary_fields.inventory.kind && $scope.job.summary_fields.inventory.kind === 'smart') {
|
||||
return '/#/inventories/smart_inventory/' + $scope.job.summary_fields.inventory.id;
|
||||
return '/#/inventories/smart/' + $scope.job.summary_fields.inventory.id;
|
||||
}
|
||||
else {
|
||||
return '/#/inventories/inventory/' + $scope.job.summary_fields.inventory.id;
|
||||
|
||||
Reference in New Issue
Block a user