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:
parent
902ef1a7ab
commit
ea1b70273d
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user