Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Oct 25, 2023
1 parent aacb3d0 commit 01703a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Cone\Root\Actions\Action;
use Cone\Root\Fields\Field;
use Cone\Root\Filters\Filter;
use Cone\Root\Filters\RenderableFilter;
use Cone\Root\Interfaces\Form;
use Cone\Root\Interfaces\Table;
use Cone\Root\Root;
Expand Down Expand Up @@ -322,7 +322,7 @@ public function toIndex(Request $request): array
'perPageOptions' => $this->getPerPageOptions(),
'filters' => $this->resolveFilters($request)
->renderable()
->map(function (Filter $filter) use ($request): array {
->map(function (RenderableFilter $filter) use ($request): array {
return $filter->toField()->toFormComponent($request, $this->getModelInstance());
})
->all(),
Expand Down

0 comments on commit 01703a1

Please sign in to comment.