Skip to content

Commit

Permalink
Fix -issue-with-pagination-after-deleting-records (#1734)
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev authored Oct 16, 2024
1 parent ef75b5e commit d976eeb
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions resources/views/components/frameworks/tailwind/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@ class="pl-4 hidden sm:block md:block lg:block w-full"
</div>
@endif

@if (filled($data))
<div>
@if (method_exists($data, 'links'))
{!! $data->links(data_get($setUp, 'footer.pagination') ?: data_get($theme, 'root') . '.pagination', [
'recordCount' => data_get($setUp, 'footer.recordCount'),
'perPage' => data_get($setUp, 'footer.perPage'),
'perPageValues' => data_get($setUp, 'footer.perPageValues'),
]) !!}
@endif
</div>
@endif
<div>
@if (method_exists($data, 'links'))
{!! $data->links(data_get($setUp, 'footer.pagination') ?: data_get($theme, 'root') . '.pagination', [
'recordCount' => data_get($setUp, 'footer.recordCount'),
'perPage' => data_get($setUp, 'footer.perPage'),
'perPageValues' => data_get($setUp, 'footer.perPageValues'),
]) !!}
@endif
</div>
</footer>
@includeIf(data_get($setUp, 'footer.includeViewOnBottom'))
</div>

0 comments on commit d976eeb

Please sign in to comment.