mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 18:20:00 -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.parseType = 'yaml';
|
||||||
$scope.showJobType = false;
|
$scope.showJobType = false;
|
||||||
|
|
||||||
|
if($scope.job_type && $scope.job_type.value === 'scan' && !$scope.project) {
|
||||||
|
$scope.project_name = 'Default';
|
||||||
|
}
|
||||||
|
|
||||||
SurveyControllerInit({
|
SurveyControllerInit({
|
||||||
scope: $scope,
|
scope: $scope,
|
||||||
parent_scope: $scope,
|
parent_scope: $scope,
|
||||||
|
|||||||
Reference in New Issue
Block a user