From 1c096df3956192a2bb35ee72fe3cd96ba6498d75 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 26 Sep 2023 15:36:29 -0400 Subject: [PATCH] Render default contents in FullCalendar content injection functions Changed in v6, as per https://fullcalendar.io/docs/upgrading-from-v5#content-injection --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 4e3587b..83efb50 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,6 +40,7 @@ const calendarOptions: CalendarOptions = { h('a', { href: ical_link }, ' [iCal 📅]') ); } + return true; }, eventContent: (arg: EventContentArg, h: typeof createElement) => { if (arg.view.type != 'resourceTimeline') { @@ -66,6 +67,7 @@ const calendarOptions: CalendarOptions = { ) ); } + return true; }, };