We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a08d87 commit 406b15aCopy full SHA for 406b15a
src/Response.php
@@ -60,7 +60,7 @@ public function rootView($rootView)
60
61
public function toResponse($request)
62
{
63
- $only = array_filter(explode(',', $request->header('X-Inertia-Partial-Data')));
+ $only = array_filter(explode(',', $request->header('X-Inertia-Partial-Data', '')));
64
65
$props = ($only && $request->header('X-Inertia-Partial-Component') === $this->component)
66
? Arr::only($this->props, $only)
0 commit comments