diff --git a/src-frontend-react/src/components/DragAndDropCalendar/index.js b/src-frontend-react/src/components/DragAndDropCalendar/index.js index 293af73..dc54e0e 100644 --- a/src-frontend-react/src/components/DragAndDropCalendar/index.js +++ b/src-frontend-react/src/components/DragAndDropCalendar/index.js @@ -9,7 +9,7 @@ import LoadingOverlay from "react-loading-overlay-ts"; import { RRule, RRuleSet } from "rrule"; import Select from "react-select"; import { customFetch } from "../../utils"; -import { Button, Col, Container, Row } from "react-bootstrap"; +import { Button, Col, Container, Row, Accordion } from "react-bootstrap"; import { PrintModal } from "../PrintModal"; import { schedule_state, user_type } from "@prisma/client"; import Cookies from "js-cookie"; @@ -506,19 +506,28 @@ export default function DragAndDropCalendar({ localizer }) { /> - {Object.keys(appointmentsTypesColors).map((key) => ( - - -
- {key} - - ))} + + + Legend + + + {Object.keys(appointmentsTypesColors).map((key) => ( + + +
+ {key} + + ))} +
+
+
+