mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
feat(calendar_view): clickable events
This commit is contained in:
@@ -69,7 +69,8 @@ export default class CalendarView extends ViewMode {
|
|||||||
for (const title of titles) {
|
for (const title of titles) {
|
||||||
const eventData: typeof events[0] = {
|
const eventData: typeof events[0] = {
|
||||||
title: title,
|
title: title,
|
||||||
start: startDate
|
start: startDate,
|
||||||
|
url: `#${note.noteId}`
|
||||||
};
|
};
|
||||||
|
|
||||||
const endDate = new Date(note.getAttributeValue("label", "endDate") ?? startDate);
|
const endDate = new Date(note.getAttributeValue("label", "endDate") ?? startDate);
|
||||||
|
|||||||
Reference in New Issue
Block a user