mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-22 00:33:35 -05:00
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