Scheduling infrastructure for absolutely everyone.
fix: busy time in slot interval
Paras Gupta977e879406e8
diff --git a/pages/[user]/[type].tsx b/pages/[user]/[type].tsxindex 3e06a2000ee..38ca403a30c 100644--- a/pages/[user]/[type].tsx+++ b/pages/[user]/[type].tsx@@ -149,6 +149,11 @@ export default function Type(props) {if (dayjs(times[i]).add(props.eventType.length, 'minutes').isBetween(startTime, endTime)) {times.splice(i, 1);}++ // Check if startTime is between slot+ if(startTime.isBetween(dayjs(times[i]), dayjs(times[i]).add(props.eventType.length, 'minutes'))) {+ times.splice(i, 1);+ }});}