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