mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Fix missing places for ask_limit and ask_scm_branch
This commit is contained in:
parent
e8581f6892
commit
1406ea3026
@ -58,8 +58,9 @@ function canLaunchWithoutPrompt () {
|
||||
launchData.can_start_without_user_input &&
|
||||
!launchData.ask_inventory_on_launch &&
|
||||
!launchData.ask_variables_on_launch &&
|
||||
!launchData.survey_enabled &&
|
||||
!launchData.ask_limit_on_launch &&
|
||||
!launchData.ask_scm_branch_on_launch &&
|
||||
!launchData.survey_enabled &&
|
||||
launchData.variables_needed_to_start.length === 0
|
||||
);
|
||||
}
|
||||
|
||||
@ -70,9 +70,11 @@ export default [
|
||||
data[fld] = $scope[fld];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
data.ask_inventory_on_launch = Boolean($scope.ask_inventory_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,
|
||||
$scope.variables, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user