mirror of
https://github.com/zadam/trilium.git
synced 2025-10-23 05:48:25 +08:00
fix(views/calendar): duplicate entries in calendar view
This commit is contained in:
parent
b1f0c64ef2
commit
4321c161ac
1 changed files with 0 additions and 7 deletions
|
|
@ -458,13 +458,6 @@ export default class CalendarView extends ViewMode<{}> {
|
|||
for (const note of notes) {
|
||||
const startDate = CalendarView.#getCustomisableLabel(note, "startDate", "calendar:startDate");
|
||||
|
||||
if (note.hasChildren()) {
|
||||
const childrenEventData = await this.buildEvents(note.getChildNoteIds());
|
||||
if (childrenEventData.length > 0) {
|
||||
events.push(childrenEventData);
|
||||
}
|
||||
}
|
||||
|
||||
if (!startDate) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue