Skip to content

Commit

Permalink
fix: issue with array keys
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrobertsFF committed Jan 5, 2023
1 parent 69c65d3 commit beed1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependablePanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function afterDependsOnSync(NovaRequest $request) : self {
public function jsonSerialize(): array {
$request = app(NovaRequest::class);
return array_merge(parent::jsonSerialize(), [
'fields' => $this->getFields($request)->jsonSerialize(),
'fields' => array_values($this->getFields($request)->jsonSerialize()),
'singleRequest' => $this->singleRequest,
]);
}
Expand Down

0 comments on commit beed1de

Please sign in to comment.