From 23cbc82708ebd2f3c934e5c3cfaf140734f53963 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 15 Feb 2025 11:46:17 +0200 Subject: [PATCH] feat(calendar_view): clickable events --- src/public/app/widgets/view_widgets/calendar_view.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/view_widgets/calendar_view.ts b/src/public/app/widgets/view_widgets/calendar_view.ts index 8c3a8e4a6..f485f763c 100644 --- a/src/public/app/widgets/view_widgets/calendar_view.ts +++ b/src/public/app/widgets/view_widgets/calendar_view.ts @@ -69,7 +69,8 @@ export default class CalendarView extends ViewMode { for (const title of titles) { const eventData: typeof events[0] = { title: title, - start: startDate + start: startDate, + url: `#${note.noteId}` }; const endDate = new Date(note.getAttributeValue("label", "endDate") ?? startDate);