Skip to content

Commit

Permalink
Merge pull request #19 from mehedijaman/main
Browse files Browse the repository at this point in the history
Feature(pagination): add fallback values for paginator props
  • Loading branch information
daniel-cintra authored Dec 21, 2024
2 parents d5ede87 + bdaca2c commit fcf7e7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stubs/page-stub/Index.stub
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@

<AppPaginator
:links="{{ resourceNameCamelPlural }}.links"
:from="{{ resourceNameCamelPlural }}.from"
:to="{{ resourceNameCamelPlural }}.to"
:total="{{ resourceNameCamelPlural }}.total"
:from="{{ resourceNameCamelPlural }}.from || 0"
:to="{{ resourceNameCamelPlural }}.to || 0"
:total="{{ resourceNameCamelPlural }}.total || 0"
class="mt-4 justify-center"
></AppPaginator>

Expand Down

0 comments on commit fcf7e7e

Please sign in to comment.