refactor(react/collections/calendar): add a few more options

This commit is contained in:
Elian Doran
2025-09-06 10:53:15 +03:00
parent 85e5f4d2c0
commit ce67e460c6
2 changed files with 2 additions and 2 deletions

View File

@@ -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}

View File

@@ -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;