diff --git a/awx/ui/client/src/shared/stateDefinitions.factory.js b/awx/ui/client/src/shared/stateDefinitions.factory.js index 25382af7ab..7733cb78e7 100644 --- a/awx/ui/client/src/shared/stateDefinitions.factory.js +++ b/awx/ui/client/src/shared/stateDefinitions.factory.js @@ -407,6 +407,10 @@ export default ['$injector', '$stateExtender', '$log', function($injector, $stat id = inventorySourceData.id; url = GetBasePath('inventory_sources'); } + if(params.hasOwnProperty('organization_id')){ + id = params.organization_id; + url = GetBasePath('organizations'); + } function init() { $scope.list = list; $scope[`${list.iterator}_dataset`] = Dataset.data;