From a0473b984d2947a7e19c0e7d601947d57e75747e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Gonz=C3=A1lez?= Date: Tue, 4 May 2021 16:28:30 +0200 Subject: [PATCH] extra ->filter() --- src/HasDependencies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HasDependencies.php b/src/HasDependencies.php index 725ed85..eedd067 100644 --- a/src/HasDependencies.php +++ b/src/HasDependencies.php @@ -20,7 +20,7 @@ public function availableFields(NovaRequest $request) $method = $this->fieldsMethod($request); // needs to be filtered once to resolve Panels - $fields = $this->filter($this->filter($this->{$method}($request))); + $fields = $this->filter($this->{$method}($request)); $availableFields = []; foreach ($fields as $field) {