diff --git a/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx b/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx index bf07afd38..1475a947e 100644 --- a/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx +++ b/public/pages/CreateSnapshotPolicy/components/CronSchedule/CronSchedule.tsx @@ -88,12 +88,12 @@ const CronSchedule = ({ function onDayOfWeekChange(dayOfWeek: string) { setWeek(dayOfWeek); - // changeCron({ dayOfWeek }); + changeCron({ dayOfWeek }); } function onDayOfMonthChange(dayOfMonth: number) { setMonth(dayOfMonth); - // changeCron({ dayOfMonth }); + changeCron({ dayOfMonth }); } function onStartTimeChange(date: moment.Moment) { @@ -101,7 +101,7 @@ const CronSchedule = ({ const hour = date.hour(); setMinute(minute); setHour(hour); - // changeCron({ minute, hour }); + changeCron({ minute, hour }); } function onTypeChange(e: ChangeEvent) { diff --git a/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx b/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx index 587192a34..6b7012cdc 100644 --- a/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx +++ b/public/pages/CreateSnapshotPolicy/containers/CreateSnapshotPolicy/CreateSnapshotPolicy.tsx @@ -477,7 +477,7 @@ export class CreateSnapshotPolicy extends MDSEnabledComponent option.label).join(", ")), }); };