diff --git a/fittrackee_client/src/components/Dashboard/UserCalendar/CalendarCells.vue b/fittrackee_client/src/components/Dashboard/UserCalendar/CalendarCells.vue index 964e184f..d8fd5b12 100644 --- a/fittrackee_client/src/components/Dashboard/UserCalendar/CalendarCells.vue +++ b/fittrackee_client/src/components/Dashboard/UserCalendar/CalendarCells.vue @@ -81,7 +81,9 @@ } function isWeekEnd(day: number): boolean { - return weekStartingMonday ? [0, 6].includes(day) : [5, 6].includes(day) + return weekStartingMonday.value + ? [5, 6].includes(day) + : [0, 6].includes(day) } function filterWorkouts(day: Date, workouts: IWorkout[]) {