[#7] added selector to add attendee when editing
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user