Skip to content

Commit

Permalink
Support nova-tab
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperLaiTW committed Nov 30, 2018
1 parent f9c13eb commit b699cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/FieldController.php
Expand Up @@ -21,7 +21,7 @@ public function index(NovaRequest $request)

// Create Nested Array Fields from Panels, Flatten and find
$fields = collect($resource->fields($request))->map(function ($field) {
if ($field instanceof Panel) {
if ($field instanceof Panel || \get_class($field) === 'Arsenaltech\NovaTab\NovaTab') {
return collect($field->data);
}
return $field;
Expand Down

0 comments on commit b699cf7

Please sign in to comment.