mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +02:00
Fixed problem that it was not possible to changes a entities parent
This commit is contained in:
parent
064f514281
commit
3a60a9848f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class BaseEntityAdminForm extends AbstractType
|
||||||
'class' => get_class($entity),
|
'class' => get_class($entity),
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'label' => 'parent.label',
|
'label' => 'parent.label',
|
||||||
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'move', $entity),
|
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
->add(
|
->add(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue