Removed faulty check

pull/375/head
nicolas 2021-08-08 21:41:02 +02:00
parent 560bd19472
commit 5a5e61739b
1 changed files with 0 additions and 5 deletions

View File

@ -34,11 +34,6 @@ function isAvailable(busyTimes, time, length) {
const startTime = dayjs(busyTime.start);
const endTime = dayjs(busyTime.end);
// Check if start times are the same
if (dayjs(time).format("HH:mm") == startTime.format("HH:mm")) {
t = false;
}
// Check if time is between start and end times
if (dayjs(time).isBetween(startTime, endTime)) {
t = false;