[#72] show event duplicator in the event preview
This commit is contained in:
@@ -244,7 +244,6 @@ export default function EventDisplayModal({
|
||||
<Card sx={{ p: 2, position: "absolute" }}>
|
||||
{/* Close button */}
|
||||
<Box sx={{ position: "absolute", top: 8, right: 8 }}>
|
||||
<EventDuplication event={event} onClose={onClose} />
|
||||
<IconButton
|
||||
size="small"
|
||||
onClick={() => onClose({}, "backdropClick")}
|
||||
|
||||
@@ -39,6 +39,7 @@ import EventDisplayModal, {
|
||||
} from "./EventDisplay";
|
||||
import { getEvent } from "./EventApi";
|
||||
import { CalendarEvent } from "./EventsTypes";
|
||||
import EventDuplication from "../../components/Event/EventDuplicate";
|
||||
|
||||
export default function EventPreviewModal({
|
||||
eventId,
|
||||
@@ -122,6 +123,7 @@ export default function EventPreviewModal({
|
||||
gap: 1,
|
||||
}}
|
||||
>
|
||||
<EventDuplication event={event} onClose={onClose} />
|
||||
{mailSpaUrl && attendees.length > 0 && (
|
||||
<IconButton
|
||||
size="small"
|
||||
|
||||
Reference in New Issue
Block a user