mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user