fix: properly handle recurring events in EventUpdateModal
- Fix handling of solo vs. all event updates for recurring events - Add calendar refresh for update all events - Disable repeat option when editing a single occurrence (solo mode) - Fix event recurrence editing in modals to match main branch - Properly link EventDisplayPreview with EventUpdateModal for typeOfAction
This commit is contained in:
committed by
Benoit TELLIER
parent
9ff8354950
commit
474ff22cab
@@ -24,7 +24,7 @@ import {
|
||||
import AvatarGroup from "@mui/material/AvatarGroup";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useAppDispatch, useAppSelector } from "../../app/hooks";
|
||||
import { deleteEventAsync, getEventAsync } from "../Calendars/CalendarSlice";
|
||||
import { deleteEventAsync } from "../Calendars/CalendarSlice";
|
||||
import { dlEvent } from "./EventApi";
|
||||
import EventDisplayModal from "./EventDisplay";
|
||||
import EventUpdateModal from "./EventUpdateModal";
|
||||
@@ -512,6 +512,7 @@ export default function EventPreviewModal({
|
||||
onClose={() => setOpenUpdateModal(false)}
|
||||
eventId={eventId}
|
||||
calId={calId}
|
||||
typeOfAction={typeOfAction}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user