diff --git a/frontend/src/components/AppShell.tsx b/frontend/src/components/AppShell.tsx index a5c0afe1..f8486334 100644 --- a/frontend/src/components/AppShell.tsx +++ b/frontend/src/components/AppShell.tsx @@ -53,6 +53,7 @@ type SidebarCalendarEvent = { end?: string | null; allDay?: boolean; color?: string | null; + color_event?: string | null; // Цвет события (альтернативное поле) rule?: number | null; // ID правила повторения is_recurring?: boolean; // Флаг из occurrences API }; @@ -787,6 +788,10 @@ function CalendarCard({ className="w-full rounded-lg bg-gray-50 px-2.5 py-2 text-left transition hover:bg-gray-100" >
{event.title}
{(event.is_recurring || event.rule) && ( ⟲