mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 06:34:25 +01:00
fix(views/calendar): nested entries in calendar view
This commit is contained in:
parent
4321c161ac
commit
df2cede075
@ -432,7 +432,7 @@ export default class CalendarView extends ViewMode<{}> {
|
|||||||
events.push(await CalendarView.buildEvent(dateNote, { startDate }));
|
events.push(await CalendarView.buildEvent(dateNote, { startDate }));
|
||||||
|
|
||||||
if (dateNote.hasChildren()) {
|
if (dateNote.hasChildren()) {
|
||||||
const childNoteIds = dateNote.getChildNoteIds();
|
const childNoteIds = await dateNote.getSubtreeNoteIds();
|
||||||
for (const childNoteId of childNoteIds) {
|
for (const childNoteId of childNoteIds) {
|
||||||
childNoteToDateMapping[childNoteId] = startDate;
|
childNoteToDateMapping[childNoteId] = startDate;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user