From f65a6ed811ea34626dcc3aa052862f51aa2d0adf Mon Sep 17 00:00:00 2001 From: "diana.dolgolyova" Date: Thu, 26 Mar 2026 11:44:53 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20schedule=20=E2=80=94=20default=20to=20g?= =?UTF-8?q?roup=20view,=20make=20halls=20more=20visible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sections/Schedule.tsx | 2 +- src/components/sections/schedule/DayCard.tsx | 6 +++--- src/components/sections/schedule/GroupView.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/sections/Schedule.tsx b/src/components/sections/Schedule.tsx index 560ea3a..d1b7751 100644 --- a/src/components/sections/Schedule.tsx +++ b/src/components/sections/Schedule.tsx @@ -40,7 +40,7 @@ type ScheduleAction = const initialState: ScheduleState = { locationMode: "all", - viewMode: "days", + viewMode: "groups", filterTrainer: null, filterType: null, filterStatus: "all", diff --git a/src/components/sections/schedule/DayCard.tsx b/src/components/sections/schedule/DayCard.tsx index 670cb15..9918b1b 100644 --- a/src/components/sections/schedule/DayCard.tsx +++ b/src/components/sections/schedule/DayCard.tsx @@ -115,10 +115,10 @@ export function DayCard({ day, typeDots, showLocation, filterTrainer, setFilterT
{/* Location sub-header */}
0 ? "border-t border-neutral-200 dark:border-white/[0.06]" : ""}`}> - - + + {locName} - {address && · {shortAddress(address)}} + {address && · {shortAddress(address)}}
diff --git a/src/components/sections/schedule/GroupView.tsx b/src/components/sections/schedule/GroupView.tsx index 4a460a3..9acc598 100644 --- a/src/components/sections/schedule/GroupView.tsx +++ b/src/components/sections/schedule/GroupView.tsx @@ -239,9 +239,9 @@ export function GroupView({ {/* Location */} {showLocation && group.location && ( - + - {group.location} + {shortAddress(group.locationAddress || group.location)} )}