diff --git a/app/components/repas/registration.tsx b/app/components/repas/registration.tsx index 86d9141..ecce3cb 100644 --- a/app/components/repas/registration.tsx +++ b/app/components/repas/registration.tsx @@ -16,7 +16,7 @@ export default function MealRegistration({ const { isLoading, error, meals: rawMeals, refetch } = useMeals(); const filterRegisteredMeals = (meals: Meal[]) => { - return meals?.filter((meal) => meal.isRegistered || meal.submittable); + return meals?.filter((meal) => meal.submittable); }; const meals = filterRegisteredMeals(rawMeals || []); @@ -39,7 +39,7 @@ export default function MealRegistration({ {error && (

Erreur lors du chargement des menus.

)} - {meals && meals.length === 0 &&

Aucun menu disponible.

} + {meals && meals.length === 0 &&

Aucun repas disponible.

} {/* Menus */}