From d7bb0250d24e6c2494b8a96722b91d10ee261fee Mon Sep 17 00:00:00 2001 From: Alex Popa Date: Wed, 13 Mar 2024 20:31:02 +0200 Subject: [PATCH] min --- .../Resources/VolunteerResource/Pages/ListVolunteers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/VolunteerResource/Pages/ListVolunteers.php b/app/Filament/Resources/VolunteerResource/Pages/ListVolunteers.php index cf38f91..1822ff8 100644 --- a/app/Filament/Resources/VolunteerResource/Pages/ListVolunteers.php +++ b/app/Filament/Resources/VolunteerResource/Pages/ListVolunteers.php @@ -96,7 +96,7 @@ protected function getActions(): array 'phone' => $data['phone'] ?? null, 'cnp' => $data['cnp'] ?? null, 'role' => $role, - 'specializations' => $newSpecializations, + 'specializations' => array_filter($newSpecializations), 'has_first_aid_accreditation' => $firstAID, ];