fix: google calendar busy times (#11696)
Co-authored-by: CarinaWolli <wollencarina@gmail.com>pull/11701/head^2
parent
3e08c66888
commit
38d1b92226
|
@ -115,6 +115,7 @@ const BookerComponent = ({
|
|||
columnViewExtraDays.current =
|
||||
Math.abs(dayjs(selectedDate).diff(availableSlots[availableSlots.length - 2], "day")) + addonDays;
|
||||
const prefetchNextMonth =
|
||||
layout === BookerLayouts.COLUMN_VIEW &&
|
||||
dayjs(date).month() !== dayjs(date).add(columnViewExtraDays.current, "day").month();
|
||||
const monthCount =
|
||||
dayjs(date).add(1, "month").month() !== dayjs(date).add(columnViewExtraDays.current, "day").month()
|
||||
|
|
Loading…
Reference in New Issue