mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Merge pull request #5509 from jaredevantabor/missing-project-jt
Deleting underlying project from a JT fix
This commit is contained in:
commit
0a25b286ca
@ -155,7 +155,7 @@ angular.module('JobTemplatesHelper', ['Utilities'])
|
||||
|
||||
scope.can_edit = data.summary_fields.user_capabilities.edit;
|
||||
|
||||
if ((!scope.project || scope.project === "") && (!scope.playbook || scope.playbook === "")) {
|
||||
if (scope.job_type.value === "scan" && (!scope.project || scope.project === "") && (!scope.playbook || scope.playbook === "")) {
|
||||
scope.resetProjectToDefault();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user