Empty the available hours list before rendering the new time

This commit is contained in:
Alex Tselegidis 2022-04-11 13:03:47 +02:00
parent 76f9d2c6b8
commit c8b6f0fb1c

View file

@ -68,6 +68,8 @@ App.Http.Booking = (function () {
};
$.post(url, data).done((response) => {
$availableHours.empty();
// The response contains the available hours for the selected provider and service. Fill the available
// hours div with response data.
if (response.length > 0) {