From 2961085b5f4ce4550c1762e6ae67bc2cb859cd57 Mon Sep 17 00:00:00 2001 From: Thomas <154033411+Kelexer1@users.noreply.github.com> Date: Fri, 14 Aug 2026 15:52:13 -0400 Subject: [PATCH] Only hide Saturday if Sunday is also hidden --- src/components/Timetable/TimetableGrid.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/Timetable/TimetableGrid.vue b/src/components/Timetable/TimetableGrid.vue index a3b623cd..23cb028c 100644 --- a/src/components/Timetable/TimetableGrid.vue +++ b/src/components/Timetable/TimetableGrid.vue @@ -143,8 +143,14 @@ const daysTrimmed = computed(() => { Weekday, ActivityTimeData[], ][]) { - if ((day === 'Sunday' || day === 'Saturday') && meetingTimes.length == 0) - continue // Skip empty Sunday or Saturday + if (day === 'Sunday' && meetingTimes.length === 0) + continue // Skip empty Sunday + else if ( + day === 'Saturday' && + meetingTimes.length === 0 && + props.timetable['Sunday'].length === 0 + ) + continue // Skip empty Saturday only if Sunday is also empty else result.push([day, meetingTimes]) } return result