From 5e772530b224de6b919c20acb842ac82b306e13c Mon Sep 17 00:00:00 2001 From: Abdurrahman Rajab Date: Sun, 14 May 2023 19:00:55 +0300 Subject: [PATCH] Feat: select all days in schedule (#8796) * feat: add select all * fix: fix deleted days * chore: add i18n select all * chore: check all days when select all * chore: use calcom checkbox --------- Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com> --- .../schedules/components/Schedule.tsx | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/packages/features/schedules/components/Schedule.tsx b/packages/features/schedules/components/Schedule.tsx index e2badbf107..45837841f4 100644 --- a/packages/features/schedules/components/Schedule.tsx +++ b/packages/features/schedules/components/Schedule.tsx @@ -28,6 +28,7 @@ import { Select, SkeletonText, Switch, + Checkbox } from "@calcom/ui"; import { Copy, Plus, Trash } from "@calcom/ui/components/icon"; @@ -383,25 +384,41 @@ const CopyTimes = ({

{t("copy_times_to")}

    +
  1. + +
  2. {weekdayNames(i18n.language, weekStart).map((weekday, num) => { const weekdayIndex = (num + weekStart) % 7; return (