fix: build form properly based on current user's role
This commit is contained in:
1 parent
c316217a62
commit
92fcada1da
3 files changed
+7
-7
No files matched your search
@@ -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