Bug 30718: Fix curbside pickups

No slots are displayed without this patch

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-11-04 12:13:43 +01:00 committed by Tomas Cohen Arazi
parent ba01d76178
commit ca37744455
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@
var currentDate = $(this).val();
let selectedDate = dayjs(currentDate, get_dateformat_str(dateformat_pref).toUpperCase());
let selectedDate = dayjs(currentDate);
let pickupSlots = [];
let available_count = 0;

View File

@ -363,7 +363,7 @@
let branchcode = $("#pickup-branch").val();
let policy = policies[branchcode];
let selectedDate = dayjs(currentDate, get_dateformat_str(dateformat_pref).toUpperCase());
let selectedDate = dayjs(currentDate);
let pickupSlots = [];
let available_count = 0;