Closed adamspd closed 6 months ago
Describe the bug On the appointment page, when no staff user is selected, if I click on a day on the calendar, a request is still sent to get staff member available slots
GET | http://127.0.0.1:8000/en/ajax/available_slots/?selected_date=2024-02-09&staff_id=none
Expected behaviour if staff_id == none, no Ajax request sent.
Screenshots
Describe the bug On the appointment page, when no staff user is selected, if I click on a day on the calendar, a request is still sent to get staff member available slots
GET | http://127.0.0.1:8000/en/ajax/available_slots/?selected_date=2024-02-09&staff_id=none
Expected behaviour if staff_id == none, no Ajax request sent.
Screenshots