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