1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Jobs helper

added a check if the job run was in the portal job list
This commit is contained in:
Jared Tabor 2014-11-07 13:40:19 -05:00
parent 902ef1a7ab
commit ea1b70273d

View File

@ -87,6 +87,9 @@ angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'Job
else if (scope.jobs) {
list = scope.jobs;
}
else if(scope.portal_jobs){
list=scope.portal_jobs;
}
job = Find({ list: list, key: 'id', val: id });
if (job.type === 'job') {
if(scope.$parent.portalMode===true){