mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
Fixes bug where attempting to edit a schedule with stringified extra_data threw error (#13795)
This commit is contained in:
@@ -113,6 +113,9 @@ function ScheduleEdit({
|
||||
days: values.daysToKeep,
|
||||
});
|
||||
} else {
|
||||
if (typeof requestData.extra_data === 'string') {
|
||||
requestData.extra_data = JSON.parse(requestData.extra_data);
|
||||
}
|
||||
requestData.extra_data.days = values.daysToKeep;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user