|
|
@@ -30,6 +30,10 @@ class ScheduleSource {
|
|
|
scheduleData.shutdown_instances == null
|
|
|
? false
|
|
|
: scheduleData.shutdown_instances,
|
|
|
+ auto_deploy:
|
|
|
+ scheduleData.auto_deploy == null
|
|
|
+ ? false
|
|
|
+ : scheduleData.auto_deploy,
|
|
|
};
|
|
|
|
|
|
if (scheduleData.expiration_date) {
|
|
|
@@ -90,6 +94,8 @@ class ScheduleSource {
|
|
|
: undefined,
|
|
|
shutdown_instances:
|
|
|
s.shutdown_instance != null ? s.shutdown_instance : undefined,
|
|
|
+ auto_deploy:
|
|
|
+ s.auto_deploy != null ? s.auto_deploy : undefined,
|
|
|
}));
|
|
|
schedules.sort(
|
|
|
(a, b) =>
|
|
|
@@ -143,6 +149,9 @@ class ScheduleSource {
|
|
|
if (scheduleData.shutdown_instances != null) {
|
|
|
payload.shutdown_instance = scheduleData.shutdown_instances;
|
|
|
}
|
|
|
+ if (scheduleData.auto_deploy != null) {
|
|
|
+ payload.auto_deploy = scheduleData.auto_deploy;
|
|
|
+ }
|
|
|
if (unsavedData?.expiration_date) {
|
|
|
payload.expiration_date = new Date(
|
|
|
unsavedData.expiration_date
|