Fix: updated pagination page to display empty data gracefully
This commit is contained in:
parent
3b5962ee5b
commit
42244b6c4b
@ -84,13 +84,14 @@
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<?php if (count($items) > 1): ?>
|
||||||
<div class="float-end pb-2" >
|
<div class="float-end pb-2" >
|
||||||
Showing {{ $items->currentPage() }} of {{ $items->lastPage() }} pages | {{ $items->total() }} records
|
Showing {{ $items->currentPage() }} of {{ $items->lastPage() }} pages | {{ $items->total() }} records
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex justify-content-centerw">
|
<div class="d-flex justify-content-centerw">
|
||||||
{{ $items->links() }}
|
{{ $items->links() }}
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user