mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
Check job_type as well as !project
This commit is contained in:
@@ -53,7 +53,7 @@ export default
|
|||||||
$scope.parseType = 'yaml';
|
$scope.parseType = 'yaml';
|
||||||
$scope.showJobType = false;
|
$scope.showJobType = false;
|
||||||
|
|
||||||
if(!$scope.project) {
|
if($scope.job_type && $scope.job_type.value === 'scan' && !$scope.project) {
|
||||||
$scope.project_name = 'Default';
|
$scope.project_name = 'Default';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user