mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
do active center filtering in frontend for person creation
This commit is contained in:
@@ -53,8 +53,6 @@ class PersonApiController extends ApiController
|
||||
{
|
||||
$centers = $this->authorizedCenterOnPersonCreation->getCenters();
|
||||
|
||||
// $centersActive = array_filter($centers, fn(Center $c) => $c->getIsActive());
|
||||
|
||||
return $this->json(
|
||||
['showCenters' => $this->showCenters, 'centers' => $centers],
|
||||
Response::HTTP_OK,
|
||||
|
Reference in New Issue
Block a user