1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +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;
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;