Hotfix: Cancelling recurring events follow-up (#3454)
* Other fixes and applying feedback * Adds defaultResponder to handle zod errors Co-authored-by: zomars <[email protected]>
This commit is contained in:
1 parent
0e9d754f64
commit
aa166190e9
4 files changed
+45
-28
No files matched your search
@@ -126,6 +126,8 @@ function BookingListItem(booking: BookingItemProps) {
|
||||
booking.listingStatus === "recurring" && booking.recurringEventId !== null
|
||||
? t("cancel_all_remaining")
|
||||
: t("cancel"),
|
||||
/* When cancelling we need to let the UI and the API know if the intention is to
|
||||
cancel all remaining bookings or just that booking instance. */
|
||||
href: `/cancel/${booking.uid}${
|
||||
booking.listingStatus === "recurring" && booking.recurringEventId !== null
|
||||
? "?allRemainingBookings=true"
|
||||
|
||||
Reference in new issue
Block a user