mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
Jobs helper
added a check if the job run was in the portal job list
This commit is contained in:
@@ -87,6 +87,9 @@ angular.module('JobsHelper', ['Utilities', 'RestServices', 'FormGenerator', 'Job
|
|||||||
else if (scope.jobs) {
|
else if (scope.jobs) {
|
||||||
list = scope.jobs;
|
list = scope.jobs;
|
||||||
}
|
}
|
||||||
|
else if(scope.portal_jobs){
|
||||||
|
list=scope.portal_jobs;
|
||||||
|
}
|
||||||
job = Find({ list: list, key: 'id', val: id });
|
job = Find({ list: list, key: 'id', val: id });
|
||||||
if (job.type === 'job') {
|
if (job.type === 'job') {
|
||||||
if(scope.$parent.portalMode===true){
|
if(scope.$parent.portalMode===true){
|
||||||
|
|||||||
Reference in New Issue
Block a user