Scheduling infrastructure for absolutely everyone.
Fixes 0 issue by boolean cast (#3004)
Alex van Andel5a84adcd8aca
diff --git a/apps/web/components/booking/AvailableTimes.tsx b/apps/web/components/booking/AvailableTimes.tsxindex 855e49a038d..94dd1c97893 100644--- a/apps/web/components/booking/AvailableTimes.tsx+++ b/apps/web/components/booking/AvailableTimes.tsx@@ -122,7 +122,7 @@ const AvailableTimes: FC<AvailableTimesProps> = ({brand === "#fff" || brand === "#ffffff" ? "border-brandcontrast" : "border-brand")}>{slot.time.format(timeFormat)}- {seatsPerTimeSlot && <p className={`text-sm`}>{t("booking_full")}</p>}+ {!!seatsPerTimeSlot && <p className={`text-sm`}>{t("booking_full")}</p>}</div>) : (<Link href={bookingUrl}>@@ -133,7 +133,7 @@ const AvailableTimes: FC<AvailableTimesProps> = ({)}data-testid="time">{dayjs.tz(slot.time, timeZone()).format(timeFormat)}- {seatsPerTimeSlot && (+ {!!seatsPerTimeSlot && (<pclassName={`${slot.attendees && slot.attendees / seatsPerTimeSlot >= 0.8