[#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 { useEffect, useState } from "react";
import { deleteEventAsync, putEventAsync } from "../Calendars/CalendarSlice"; import { deleteEventAsync, putEventAsync } from "../Calendars/CalendarSlice";
import { useAppDispatch, useAppSelector } from "../../app/hooks"; import { useAppDispatch, useAppSelector } from "../../app/hooks";
import AttendeeSelector from "../../components/Attendees/AttendeeSearch";
import { import {
Popover, Popover,
Button, Button,
@@ -143,6 +144,7 @@ export default function EventDisplayModal({
description, description,
location, location,
repetition, repetition,
class: eventClass,
organizer: event.organizer, organizer: event.organizer,
timezone, timezone,
attendee: [ attendee: [
@@ -337,6 +339,8 @@ export default function EventDisplayModal({
rows={2} rows={2}
/> />
<AttendeeSelector setAttendees={setAttendees} />
<TextField <TextField
fullWidth fullWidth
label="Location" label="Location"