Skip to content

Commit 5f0188b

Browse files
fix: cancel event button for each booking on bookings page (calcom#23479)
* Cancel Event Fix * update --------- Co-authored-by: unknown <adhabal2002@gmail.com> Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
1 parent bf3037d commit 5f0188b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/components/booking/BookingListItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ function BookingListItem(booking: BookingItemProps) {
691691
type="button"
692692
color={cancelEventAction.color}
693693
StartIcon={cancelEventAction.icon}
694-
href={cancelEventAction.href}
694+
href={cancelEventAction.disabled ? undefined : cancelEventAction.href}
695695
onClick={cancelEventAction.onClick}
696696
disabled={cancelEventAction.disabled}
697697
data-bookingid={cancelEventAction.bookingId}

0 commit comments

Comments
 (0)