feat(calendar_view): clickable events

This commit is contained in:
Elian Doran
2025-02-15 11:46:17 +02:00
parent 1b4281cf77
commit 23cbc82708

View File

@@ -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);