Scheduling infrastructure for absolutely everyone.
Prevent navigation for disabled booking actions (#25543)
Anik Dhabal Babu7a66add217fa
diff --git a/apps/web/components/booking/actions/BookingActionsDropdown.tsx b/apps/web/components/booking/actions/BookingActionsDropdown.tsxindex 267d7912742..45a7ddc33a5 100644--- a/apps/web/components/booking/actions/BookingActionsDropdown.tsx+++ b/apps/web/components/booking/actions/BookingActionsDropdown.tsx@@ -598,7 +598,7 @@ export function BookingActionsDropdown({type="button"color={action.color}StartIcon={action.icon}- href={action.href}+ href={action.disabled ? undefined : action.href}disabled={action.disabled}onClick={(e) => {e.stopPropagation();@@ -621,7 +621,7 @@ export function BookingActionsDropdown({type="button"color={action.color}StartIcon={action.icon}- href={action.href}+ href={action.disabled ? undefined : action.href}disabled={action.disabled}onClick={(e) => {e.stopPropagation();@@ -642,7 +642,7 @@ export function BookingActionsDropdown({type="button"color={action.color}StartIcon={action.icon}- href={action.href}+ href={action.disabled ? undefined : action.href}onClick={(e) => {e.stopPropagation();action.onClick?.(e);