mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	feat(views/calendar): support workspaceCalendarRoot
This commit is contained in:
		
							parent
							
								
									a9cebe312f
								
							
						
					
					
						commit
						5a8d5c59f5
					
				@ -87,7 +87,7 @@ export default class CalendarView extends ViewMode {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async renderList(): Promise<JQuery<HTMLElement> | undefined> {
 | 
					    async renderList(): Promise<JQuery<HTMLElement> | undefined> {
 | 
				
			||||||
        this.isCalendarRoot = this.parentNote.hasLabel("calendarRoot");
 | 
					        this.isCalendarRoot = this.parentNote.hasLabel("calendarRoot") || this.parentNote.hasLabel("workspaceCalendarRoot");
 | 
				
			||||||
        const isEditable = !this.isCalendarRoot;
 | 
					        const isEditable = !this.isCalendarRoot;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const { Calendar } = await import("@fullcalendar/core");
 | 
					        const { Calendar } = await import("@fullcalendar/core");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user