From 578308a8cb8f7e57f919d5ab783d7fea44c77e7a Mon Sep 17 00:00:00 2001 From: Christian Emmert Date: Fri, 17 Feb 2023 17:07:59 +0100 Subject: [PATCH] Display timezones in availabilities (#7081) --- .../schedules/components/ScheduleListItem.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/features/schedules/components/ScheduleListItem.tsx b/packages/features/schedules/components/ScheduleListItem.tsx index 610e747ae9..ccd8575c45 100644 --- a/packages/features/schedules/components/ScheduleListItem.tsx +++ b/packages/features/schedules/components/ScheduleListItem.tsx @@ -51,6 +51,12 @@ export function ScheduleListItem({ )}

+ {(schedule.timeZone || displayOptions?.timeZone) && ( +

+ +  {schedule.timeZone ?? displayOptions?.timeZone} +

+ )} {schedule.availability .filter((availability) => !!availability.days.length) .map((availability) => ( @@ -62,12 +68,6 @@ export function ScheduleListItem({
))} - {schedule.timeZone && schedule.timeZone !== displayOptions?.timeZone && ( -

- -  {schedule.timeZone} -

- )}