We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9ce5c commit ef78415Copy full SHA for ef78415
resources/views/tailwind/includes/pagination.blade.php
@@ -1,5 +1,7 @@
1
-@if ($paginationEnabled && $showPerPage)
2
- <div class="p-6 md:p-0">
+<div class="p-6 md:p-0">
+ @if ($paginationEnabled && $showPerPage && $rows->lastPage() > 1)
3
{{ $rows->links() }}
4
- </div>
5
-@endif
+ @else
+ <p class="text-sm text-gray-700 leading-5">Showing {{ $rows->count() }} results</p>
6
+ @endif
7
+</div>
0 commit comments