From 32c16021c420ce10f630d98b00f8735f0bf2fdd7 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 1 Dec 2025 03:00:38 +0200 Subject: [PATCH] style/calendar collection: refactor --- apps/client/src/widgets/collections/calendar/event_builder.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/client/src/widgets/collections/calendar/event_builder.ts b/apps/client/src/widgets/collections/calendar/event_builder.ts index 2d884f8fe..b2665b788 100644 --- a/apps/client/src/widgets/collections/calendar/event_builder.ts +++ b/apps/client/src/widgets/collections/calendar/event_builder.ts @@ -81,7 +81,6 @@ export async function buildEventsForCalendar(note: FNote, e: EventSourceFuncArg) export async function buildEvent(note: FNote, { startDate, endDate, startTime, endTime, isArchived }: Event) { const customTitleAttributeName = note.getLabelValue("calendar:title"); const titles = await parseCustomTitle(customTitleAttributeName, note); - const color = note.getLabelValue("calendar:color") ?? note.getLabelValue("color"); const colorClass = note.getColorClass(); const events: EventInput[] = []; @@ -110,7 +109,6 @@ export async function buildEvent(note: FNote, { startDate, endDate, startTime, e start: startDate, url: `#${note.noteId}?popup`, noteId: note.noteId, - color: color ?? undefined, iconClass: note.getLabelValue("iconClass"), promotedAttributes: displayedAttributesData, className: clsx({archived: isArchived}, colorClass)