mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Check job_type as well as !project
This commit is contained in:
parent
40c50300f7
commit
1df4adc957
@ -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';
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user