fix: build form properly based on current user's role
This commit is contained in:
@@ -34,7 +34,6 @@ class AssignmentFilterController extends AbstractController
|
||||
'max_date' => $filterOptions['maxDate'],
|
||||
'job_profiles' => $filterOptions['jobProfiles'],
|
||||
'hotels' => $filterOptions['hotels'],
|
||||
'user' => $this->getUser(),
|
||||
];
|
||||
|
||||
$form = $this->createForm(AssignmentFilterType::class, $formData, $formOptions);
|
||||
|
||||
Reference in New Issue
Block a user