From 459878ca77555b551955458d5f109743bd9a83d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Tue, 28 May 2024 09:39:20 +0200 Subject: [PATCH] revert --- src/Resources/Resource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/Resource.php b/src/Resources/Resource.php index b7a1f806..76e1a452 100644 --- a/src/Resources/Resource.php +++ b/src/Resources/Resource.php @@ -422,6 +422,7 @@ public function mapModel(Request $request, Model $model): array 'model' => $model, 'abilities' => $this->mapModelAbilities($request, $model), 'fields' => $this->resolveFields($request) + ->subResource(false) ->authorized($request, $model) ->visible('index') ->mapToDisplay($request, $model),