From afe5fea6ebeff50fb961f6c92effe6ce54bedec7 Mon Sep 17 00:00:00 2001 From: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> Date: Tue, 15 Jul 2025 12:22:56 +0000 Subject: [PATCH] fix: improve restriction schedule description (#22517) * fix description * add back isRestrictionScheduleEnabled --------- Co-authored-by: CarinaWolli --- apps/web/public/static/locales/en/common.json | 2 +- .../components/tabs/availability/EventAvailabilityTab.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 9bf63dd2a7..cbdf0db137 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 b6ed32f799..6943e158f5 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 ? ( ) : ( @@ -851,7 +851,7 @@ const UseTeamEventScheduleSettingsToggle = ({ checked={restrictScheduleForHosts} onCheckedChange={toggleRestrictScheduleState} title={t("choose_restriction_schedule")} - description={t("choose_restriction_schedule_description")}> + description={t("restriction_schedule_description")}>