From 2976a12dc6255ac42a5cb466633c4f55c282c88a Mon Sep 17 00:00:00 2001 From: jonnypaulino Date: Fri, 22 Nov 2024 12:22:53 -0300 Subject: [PATCH] fix: ordem de inserir a data de nascimento --- src/Pages/Beneficiaries/BeneficiariesCreate/index.tsx | 1 + .../ClassroomOne/MeetingList/Meeting/Beneficiarios/index.tsx | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/Pages/Beneficiaries/BeneficiariesCreate/index.tsx b/src/Pages/Beneficiaries/BeneficiariesCreate/index.tsx index 31848bb..7ea7332 100644 --- a/src/Pages/Beneficiaries/BeneficiariesCreate/index.tsx +++ b/src/Pages/Beneficiaries/BeneficiariesCreate/index.tsx @@ -152,6 +152,7 @@ const RegistrationPage = () => { { for (const foul of fouls) { array.push(foul.id); } + return array; }; + console.log(FilterId(selectedProducts)) + const bodyRegisterFouls = (dataRow: RegisterClassroom) => { return ( @@ -338,6 +341,7 @@ const Beneficiarios = () => { Swal.fire({title: "Para conseguir salvar a lista, Ă© necessario adicionar um arquivo como uma evidĂȘncia da aula", icon: 'error',}) } else{ + console.log() props.CreateFouls({ meeting: props.meeting?.id!, registration: FilterId(selectedProducts),