Skip to content

Commit

Permalink
make recurring shifts the default
Browse files Browse the repository at this point in the history
  • Loading branch information
PencilAmazing committed Jan 9, 2025
1 parent 0ba0ccc commit a807a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/entrypoints/admin_availability_calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ saveButton.addEventListener("click", () => createCalendarEvent());
const openModal = (arg) => {
// Reset defaults
modalTitle.innerText = "New Unavailability";
recurringInput.checked = false;
recurringInput.checked = true;
wholeDayCheckbox.checked = false; // Reset checkbox state
unavailabilityId.value = "";
switchInputVisibility(recurringInput.checked);
Expand Down

0 comments on commit a807a52

Please sign in to comment.