Skip to content

Commit a6092d5

Browse files
committed
chore: fix calendar entry colors
1 parent e827832 commit a6092d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/frontend/src/components/questionnaire/calendar/EntryCalendar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export function EntryCalendar({
8181
end: getDateFromTimeAndWeekday(endedAt, weekday),
8282
title: carer.name,
8383
extendedProps: { entryLanguages },
84-
backgroundColor: theme.colors[theme.primaryColor][4],
84+
backgroundColor: carer.color ?? theme.colors[theme.primaryColor][4],
85+
borderColor: carer.color ?? theme.colors[theme.primaryColor][4],
8586
})),
8687
...(gaps ?? []).flatMap((dailyGaps, index) =>
8788
dailyGaps.map((gap) => ({

0 commit comments

Comments
 (0)