Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored and github-actions[bot] committed Sep 29, 2024
1 parent 31cb65c commit 7f22454
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Traits/Configuration/PaginationConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,10 @@ public function setShouldRetrieveTotalItemCountDisabled(): self
return $this;
}

public function setPaginationWrapperAttributes(array $paginationWrapperAttributes): self
public function setPaginationWrapperAttributes(array $paginationWrapperAttributes): self
{
$this->paginationWrapperAttributes = array_merge(['class' => ''], $paginationWrapperAttributes);

return $this;
}

}
2 changes: 1 addition & 1 deletion src/Traits/Helpers/PaginationHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function getShouldRetrieveTotalItemCount(): bool
}

#[Computed]
public function getPaginationWrapperAttributes(): array
public function getPaginationWrapperAttributes(): array
{
return $this->paginationWrapperAttributes;
}
Expand Down
1 change: 0 additions & 1 deletion src/Traits/WithPagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ trait WithPagination
// Used In Frontend
protected array $paginationWrapperAttributes = ['class' => ''];


public function mountWithPagination(): void
{
$sessionPerPage = session()->get($this->getPerPagePaginationSessionKey(), $this->getPerPageAccepted()[0] ?? 10);
Expand Down

0 comments on commit 7f22454

Please sign in to comment.