Skip to content

Commit

Permalink
fix: After response callback fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Jan 15, 2025
1 parent d1842e4 commit 506f140
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Traits/Resource/ResourceCrudRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,14 @@ public function getDetailPageUrl(
*/
public function getFragmentLoadUrl(
string|array $fragment,
PageContract $page,
DataWrapperContract|int|string|null $key,
?PageContract $page = null,
DataWrapperContract|int|string|null $key = null,
array $params = []
): string {
if(is_null($page)) {
$page = $this->getIndexPage();
}

return $this->getPageUrl(
$page,
params: array_filter([
Expand Down

0 comments on commit 506f140

Please sign in to comment.