diff --git a/frontend/components/autocompleteComponents/autocompleteComponent.tsx b/frontend/components/autocompleteComponents/autocompleteComponent.tsx index 358d185b..a938044f 100644 --- a/frontend/components/autocompleteComponents/autocompleteComponent.tsx +++ b/frontend/components/autocompleteComponents/autocompleteComponent.tsx @@ -109,7 +109,7 @@ const AutocompleteComponent: React.FC = ({ getOptionLabel={(option: any) => option.label || ""} disabled={disabled} renderInput={(params: AutocompleteRenderInputParams) => ( - + )} ListboxProps={{ style: { maxHeight: 200, overflowY: "auto" } }} /> diff --git a/frontend/pages/admin/analysis/tour.tsx b/frontend/pages/admin/analysis/tour.tsx index a4eb5b95..cb7c6190 100644 --- a/frontend/pages/admin/analysis/tour.tsx +++ b/frontend/pages/admin/analysis/tour.tsx @@ -420,41 +420,39 @@ function AdminTour() { -
-
- - -
-
- - -
-
- - setSelectedDate(date)} - highlightDates={validDates} // highlight valid dates - filterDate={(date: Date) => - validDates.map((d) => d.toLocaleDateString()).includes(date.toLocaleDateString()) - } - disabled={!validTourUser} - /> -
-
+ + + + + + + + + + + setSelectedDate(date)} + highlightDates={validDates} // highlight valid dates + filterDate={(date: Date) => + validDates.map((d) => d.toLocaleDateString()).includes(date.toLocaleDateString()) + } + disabled={!validTourUser} + /> +
@@ -496,7 +494,7 @@ function AdminTour() {

- +
diff --git a/frontend/pages/admin/analysis/worked-hours.tsx b/frontend/pages/admin/analysis/worked-hours.tsx index e27221a6..4dc965be 100644 --- a/frontend/pages/admin/analysis/worked-hours.tsx +++ b/frontend/pages/admin/analysis/worked-hours.tsx @@ -1,8 +1,8 @@ import AdminHeader from "@/components/header/adminHeader"; import React, { useEffect, useState } from "react"; -import { addDays, differenceInMinutes, startOfWeek, subDays, subMonths } from "date-fns"; +import { differenceInMinutes, startOfWeek, subMonths } from "date-fns"; import { Card, Col, Container, Form, ListGroup, Row } from "react-bootstrap"; -import { datesEqual, formatDate } from "@/lib/date"; +import { datesEqual } from "@/lib/date"; import { getWorkedHours } from "@/lib/analysis"; import { getAllTours, Tour } from "@/lib/tour"; import { getAllRegions, RegionInterface } from "@/lib/region"; @@ -180,15 +180,6 @@ function AdminAnalysisWorkingHours() {
- - Periode: - - Sorteer op:
Gebouw
+
@@ -359,7 +358,7 @@ function AdminDashboard() { {startedStudentOnTours.length > 0 ? ( <> -
Ronde
+
@@ -417,7 +416,7 @@ function AdminDashboard() { {notYetStartedStudentOnTours.length > 0 ? ( <> -
Ronde
+
diff --git a/frontend/pages/admin/data/garbage-collection/index.tsx b/frontend/pages/admin/data/garbage-collection/index.tsx index c988cf9d..b627f422 100644 --- a/frontend/pages/admin/data/garbage-collection/index.tsx +++ b/frontend/pages/admin/data/garbage-collection/index.tsx @@ -461,8 +461,8 @@ function GarbageCollectionSchedule() { - -
+
+
- +
Ronde