mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
fixed passing of extravars on schedule endpoint
This commit is contained in:
parent
eacf6a591b
commit
7ba547b16a
@ -569,8 +569,8 @@ export default
|
||||
url = (mode==="edit") ? GetBasePath('schedules')+id+'/' : url;
|
||||
if (scope.isFactCleanup) {
|
||||
extra_vars = {
|
||||
"older_than": scope.keep_amount+scope.keep_unit.value,
|
||||
"granularity": scope.granularity_keep_amount+scope.granularity_keep_unit.value
|
||||
"older_than": scope.scheduler_form.keep_amount.$viewValue + scope.scheduler_form.keep_unit.$viewValue.value,
|
||||
"granularity": scope.scheduler_form.granularity_keep_amount.$viewValue + scope.scheduler_form.granularity_keep_unit.$viewValue.value
|
||||
};
|
||||
} else {
|
||||
extra_vars = {
|
||||
|
Loading…
Reference in New Issue
Block a user