From 0337ec46d94d47d4d3ef410bfbececb1682d6c91 Mon Sep 17 00:00:00 2001 From: CarinaWolli Date: Tue, 15 Jul 2025 11:19:02 +0200 Subject: [PATCH 1/2] fix description --- apps/web/public/static/locales/en/common.json | 2 +- .../components/tabs/availability/EventAvailabilityTab.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 9bf63dd2a77bc4..cbdf0db137767e 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -3323,7 +3323,7 @@ "pbac_desc_manage_team_insights": "Manage team insights", "read_permission_auto_enabled_tooltip": "Read permission is automatically enabled when creating, updating, or deleting a resource", "choose_restriction_schedule": "Add restriction schedule", - "choose_restriction_schedule_description": "Enable this if you want to restrict the availability of hosts for this event type based on a restriction schedule. This only removes the slots that are not in the restriction schedule, it does not add any new slots.", + "restriction_schedule_description": "Limit availability of hosts to only display slots that fall within a specified schedule.", "use_booker_timezone": "Use booker's timezone", "use_booker_timezone_info": "Apply the selected restriction schedule in the booker's timezone", "load_balancing_warning": "This will disable Load Balancing on all your Round Robin event types", diff --git a/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx b/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx index b6ed32f7994f03..7afeec993f404b 100644 --- a/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx +++ b/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx @@ -666,7 +666,7 @@ const TeamMemberSchedule = ({ {isPlatform && }

{label}

-
+
{isPending ? ( ) : ( @@ -845,13 +845,13 @@ const UseTeamEventScheduleSettingsToggle = ({
)}
- {!isPlatform && isRestrictionScheduleEnabled ? ( + {!isPlatform && true ? (
+ description={t("restriction_schedule_description")}> Date: Tue, 15 Jul 2025 12:04:27 +0200 Subject: [PATCH 2/2] add back isRestrictionScheduleEnabled --- .../components/tabs/availability/EventAvailabilityTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx b/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx index 7afeec993f404b..6943e158f5387f 100644 --- a/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx +++ b/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.tsx @@ -845,7 +845,7 @@ const UseTeamEventScheduleSettingsToggle = ({
)} - {!isPlatform && true ? ( + {!isPlatform && isRestrictionScheduleEnabled ? (