mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Fix missing places for ask_limit and ask_scm_branch
This commit is contained in:
@@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user