mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
adding extra logic to resovle so that it will always return
This commit is contained in:
parent
2328d513d0
commit
11db5899b2
@ -460,6 +460,9 @@ export default ['$injector', '$stateExtender', '$log', function($injector, $stat
|
||||
if($stateParams.hasOwnProperty('group_id')){
|
||||
return GroupManageService.getInventorySource({ group: $stateParams.group_id }).then(res => res.data.results[0]);
|
||||
}
|
||||
else{
|
||||
return null;
|
||||
}
|
||||
}],
|
||||
Dataset: ['ListDefinition', 'QuerySet', '$stateParams', 'GetBasePath', '$interpolate', '$rootScope',
|
||||
(list, qs, $stateParams, GetBasePath, $interpolate, $rootScope) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user