From 7b5a4c0941ff08a34e6a2f58d414dd74061218b9 Mon Sep 17 00:00:00 2001 From: Alexis Leboeuf Date: Sat, 13 Dec 2025 22:30:37 +0100 Subject: [PATCH] Changed typo in Ressource type in Ouvriers --- app/(tabs)/gestion_ouvrier.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(tabs)/gestion_ouvrier.tsx b/app/(tabs)/gestion_ouvrier.tsx index 7d622a2..0e8f8a0 100644 --- a/app/(tabs)/gestion_ouvrier.tsx +++ b/app/(tabs)/gestion_ouvrier.tsx @@ -34,7 +34,7 @@ export default function GestionOuvrier() { async function loadData() { try { //Nous ne gardons que les Ouvriers, qui peuvent être assignés à un chantier - const data = (await getRessources()).filter(u => u.type === "Ouvrier"); + const data = (await getRessources()).filter(u => u.type === "ouvrier"); setRessources(data); } catch (error) { console.error("Erreur lors du chargement :", error);