1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

adding fix for organizations-notifications related tab too

This commit is contained in:
jaredevantabor 2016-12-20 09:14:02 -08:00
parent 14e154acce
commit 2328d513d0

View File

@ -407,6 +407,10 @@ export default ['$injector', '$stateExtender', '$log', function($injector, $stat
id = inventorySourceData.id; id = inventorySourceData.id;
url = GetBasePath('inventory_sources'); url = GetBasePath('inventory_sources');
} }
if(params.hasOwnProperty('organization_id')){
id = params.organization_id;
url = GetBasePath('organizations');
}
function init() { function init() {
$scope.list = list; $scope.list = list;
$scope[`${list.iterator}_dataset`] = Dataset.data; $scope[`${list.iterator}_dataset`] = Dataset.data;