mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #5315 from mabashian/5264-jt-edit-scan-job
Fix bug with scan job template not loading Default project correctly
This commit is contained in:
commit
445ef69cde
@ -53,6 +53,10 @@ export default
|
||||
$scope.parseType = 'yaml';
|
||||
$scope.showJobType = false;
|
||||
|
||||
if($scope.job_type && $scope.job_type.value === 'scan' && !$scope.project) {
|
||||
$scope.project_name = 'Default';
|
||||
}
|
||||
|
||||
SurveyControllerInit({
|
||||
scope: $scope,
|
||||
parent_scope: $scope,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user