From 9339eebfd01001a1390d034ed78734c67852d186 Mon Sep 17 00:00:00 2001 From: jerem Date: Tue, 14 Jan 2025 10:59:47 +0100 Subject: [PATCH] =?UTF-8?q?fix(years-modal-button):=20Ajouter=20une=20vale?= =?UTF-8?q?ur=20par=20d=C3=A9faut=20pour=20l'ann=C3=A9e=20universitaire=20?= =?UTF-8?q?et=20corriger=20l'affichage=20des=20options=20non=20disponibles?= =?UTF-8?q?=20-=20erreur=20console?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/atlas/components/main/header/years-modal-button.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/pages/atlas/components/main/header/years-modal-button.tsx b/client/src/pages/atlas/components/main/header/years-modal-button.tsx index e349d89d..5529246f 100644 --- a/client/src/pages/atlas/components/main/header/years-modal-button.tsx +++ b/client/src/pages/atlas/components/main/header/years-modal-button.tsx @@ -44,19 +44,19 @@ export default function YearsModalButton() { searchParams.set('annee_universitaire', e.target.value); window.location.search = searchParams.toString(); }} + defaultValue={currentYear} > { filtersValues.annees_universitaires.all.map((value: string) => (