Skip to content

Commit

Permalink
extra ->filter()
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert González committed May 4, 2021
1 parent 2b45417 commit a0473b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasDependencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a0473b9

Please sign in to comment.