Fix missing places for ask_limit and ask_scm_branch

This commit is contained in:
AlanCoding
2019-08-21 22:30:13 -04:00
parent e8581f6892
commit 1406ea3026
2 changed files with 5 additions and 2 deletions

View File

@@ -58,8 +58,9 @@ function canLaunchWithoutPrompt () {
launchData.can_start_without_user_input && launchData.can_start_without_user_input &&
!launchData.ask_inventory_on_launch && !launchData.ask_inventory_on_launch &&
!launchData.ask_variables_on_launch && !launchData.ask_variables_on_launch &&
!launchData.survey_enabled && !launchData.ask_limit_on_launch &&
!launchData.ask_scm_branch_on_launch && !launchData.ask_scm_branch_on_launch &&
!launchData.survey_enabled &&
launchData.variables_needed_to_start.length === 0 launchData.variables_needed_to_start.length === 0
); );
} }

View File

@@ -70,9 +70,11 @@ export default [
data[fld] = $scope[fld]; data[fld] = $scope[fld];
} }
} }
data.ask_inventory_on_launch = Boolean($scope.ask_inventory_on_launch); data.ask_inventory_on_launch = Boolean($scope.ask_inventory_on_launch);
data.ask_variables_on_launch = Boolean($scope.ask_variables_on_launch); data.ask_variables_on_launch = Boolean($scope.ask_variables_on_launch);
data.ask_limit_on_launch = Boolean($scope.ask_limit_on_launch);
data.ask_scm_branch_on_launch = Boolean($scope.ask_scm_branch_on_launch);
data.extra_vars = ToJSON($scope.parseType, data.extra_vars = ToJSON($scope.parseType,
$scope.variables, true); $scope.variables, true);