mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	refactor(react/collections/calendar): add a few more options
This commit is contained in:
		| @@ -120,6 +120,8 @@ export default function CalendarView({ note, noteIds }: ViewModeProps<CalendarVi | ||||
|                 firstDay={firstDayOfWeek ?? 0} | ||||
|                 weekends={!hideWeekends} | ||||
|                 weekNumbers={weekNumbers} | ||||
|                 height="100%" | ||||
|                 nowIndicator | ||||
|                 handleWindowResize={false} | ||||
|                 locale={locale} | ||||
|                 editable={isEditable} selectable={isEditable} | ||||
|   | ||||
| @@ -35,8 +35,6 @@ export default class CalendarView extends ViewMode<{}> { | ||||
|  | ||||
|     async renderList(): Promise<JQuery<HTMLElement> | undefined> { | ||||
|         const calendar = new Calendar(this.$calendarContainer[0], { | ||||
|             height: "100%", | ||||
|             nowIndicator: true, | ||||
|             eventDidMount: (e) => { | ||||
|                 const { iconClass, promotedAttributes } = e.event.extendedProps; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user