Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Commit 44b6ca9

Browse files
fix crud controllers
1 parent 7649159 commit 44b6ca9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controller/Crud/ProcessCrudController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static function getEntityFqcn(): string
3939

4040
public function configureCrud(Crud $crud): Crud
4141
{
42-
$crud->showEntityActionsAsDropdown(false);
42+
$crud->showEntityActionsInlined();
4343
$crud->setDefaultSort(['lastExecutionDate' => SortOrder::DESC]);
4444
$crud->setEntityPermission('ROLE_ADMIN');
4545
$crud->setSearchFields(['processCode, source, target']);

src/Controller/Crud/ProcessExecutionCrudController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function getEntityFqcn(): string
5454

5555
public function configureCrud(Crud $crud): Crud
5656
{
57-
$crud->showEntityActionsAsDropdown(false);
57+
$crud->showEntityActionsInlined();
5858
$crud->setDefaultSort(['startDate' => SortOrder::DESC]);
5959
$crud->setEntityPermission('ROLE_ADMIN');
6060
$crud->setSearchFields($this->indexLogs === true ? ['logRecords.message'] : null);

0 commit comments

Comments
 (0)