mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Get basic concept of pagination working on NestsContainer.tsx
This commit is contained in:
@@ -37,7 +37,7 @@ class NestController extends ApplicationApiController
|
||||
*/
|
||||
public function index(GetNestsRequest $request): array
|
||||
{
|
||||
$nests = $this->repository->paginated(50);
|
||||
$nests = $this->repository->paginated(2);
|
||||
|
||||
return $this->fractal->collection($nests)
|
||||
->transformWith($this->getTransformer(NestTransformer::class))
|
||||
|
||||
Reference in New Issue
Block a user