feat: prevent rescheduling past bookings (#18003)
* feat: prevent rescheduling past bookings * hide reschedule option on frontend * fix * addd null check for booking.endTime --------- Co-authored-by: Prashant Varma <[email protected]>
This commit is contained in:
1 parent
5d88858995
commit
e2de28b933
3 files changed
+44
-30
No files matched your search
@@ -729,7 +729,7 @@ export default function Success(props: PageProps) {
|
||||
</span>
|
||||
|
||||
<>
|
||||
{!props.recurringBookings && (
|
||||
{!props.recurringBookings && !isBookingInPast && (
|
||||
<span className="text-default inline">
|
||||
<span className="underline" data-testid="reschedule-link">
|
||||
<Link
|
||||
|
||||
Reference in new issue
Block a user