Skip to content

Commit

Permalink
Fix sonata admin 4 list view
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Nov 14, 2021
1 parent 3431491 commit 8f2bb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/Model/UserAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ protected function configureListFields(ListMapper $list): void

if ($this->isGranted('ROLE_ALLOWED_TO_SWITCH')) {
$list
->add('impersonating', 'string', [
->add('id', 'string', [
'template' => '@NucleosUserAdmin/Admin/Field/impersonating.html.twig',
])
;
Expand Down

0 comments on commit 8f2bb56

Please sign in to comment.