Skip to content
Snippets Groups Projects
Commit 65e0beff authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix bug with mid-month schedules

parent 1a5045fb
Branches
Tags
No related merge requests found
......@@ -86,7 +86,8 @@ export default class SchedulePicker extends Component {
if (value === "monthly") {
newSchedule = { ...newSchedule, "schedule_frame": "first", "schedule_day": "mon" };
}
}
else if (name === "schedule_frame") {
// when the monthly schedule frame is the 15th, clear out the schedule_day
if (value === "mid") {
newSchedule = { ...newSchedule, "schedule_day": null };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment