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:
Michael Abashian 2017-02-13 09:41:37 -05:00 committed by GitHub
commit 445ef69cde

View File

@ -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,