Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
@@ -735,7 +735,7 @@ export default function EventFormFields({
|
||||
)}
|
||||
<Select
|
||||
labelId="calendar-select-label"
|
||||
value={calendarid.toString()}
|
||||
value={calendarid}
|
||||
label={!showMore ? "Calendar" : ""}
|
||||
displayEmpty
|
||||
onChange={(e: SelectChangeEvent) =>
|
||||
|
||||
@@ -140,7 +140,7 @@ function EventPopover({
|
||||
setLocation("");
|
||||
setStart("");
|
||||
setEnd("");
|
||||
setCalendarid(userPersonnalCalendars[0].id);
|
||||
setCalendarid(userPersonnalCalendars[0]?.id);
|
||||
setAllDay(false);
|
||||
setRepetition({} as RepetitionObject);
|
||||
setAlarm("");
|
||||
|
||||
Reference in New Issue
Block a user