fix: Lock time-zone not working properly (#19152)
Post release / release (push) Canceled after 0s
Post release / release (push) Canceled after 0s
* fix: flaky test organization.spec * fix
This commit is contained in:
@@ -10,6 +10,7 @@ import { SeatsAvailabilityText } from "@calcom/features/bookings/components/Seat
|
||||
import { EventMetaBlock } from "@calcom/features/bookings/components/event-meta/Details";
|
||||
import { useTimePreferences } from "@calcom/features/bookings/lib";
|
||||
import type { BookerEvent } from "@calcom/features/bookings/types";
|
||||
import { CURRENT_TIMEZONE } from "@calcom/lib/constants";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { markdownToSafeHTMLClient } from "@calcom/lib/markdownToSafeHTMLClient";
|
||||
import type { EventTypeTranslation } from "@calcom/prisma/client";
|
||||
@@ -219,7 +220,7 @@ export const EventMeta = ({
|
||||
indicatorsContainer: () => "ml-auto",
|
||||
container: () => "max-w-full",
|
||||
}}
|
||||
value={timezone}
|
||||
value={event.lockTimeZoneToggleOnBookingPage ? CURRENT_TIMEZONE : timezone}
|
||||
onChange={({ value }) => {
|
||||
setTimezone(value);
|
||||
setBookerStoreTimezone(value);
|
||||
|
||||
Reference in New Issue
Block a user