[#7] added selector to add attendee when editing

This commit is contained in:
Camille Moussu
2025-08-26 15:46:27 +02:00
parent 5864875775
commit 07a17af478
+4
View File
@@ -1,6 +1,7 @@
import { useEffect, useState } from "react";
import { deleteEventAsync, putEventAsync } from "../Calendars/CalendarSlice";
import { useAppDispatch, useAppSelector } from "../../app/hooks";
import AttendeeSelector from "../../components/Attendees/AttendeeSearch";
import {
Popover,
Button,
@@ -143,6 +144,7 @@ export default function EventDisplayModal({
description,
location,
repetition,
class: eventClass,
organizer: event.organizer,
timezone,
attendee: [
@@ -337,6 +339,8 @@ export default function EventDisplayModal({
rows={2}
/>
<AttendeeSelector setAttendees={setAttendees} />
<TextField
fullWidth
label="Location"