mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +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