From d976eebc5a2ab6a520b5c1fd86583115f43ec620 Mon Sep 17 00:00:00 2001 From: Luan Freitas <33601626+luanfreitasdev@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:57:41 -0300 Subject: [PATCH] Fix -issue-with-pagination-after-deleting-records (#1734) --- .../frameworks/tailwind/footer.blade.php | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/resources/views/components/frameworks/tailwind/footer.blade.php b/resources/views/components/frameworks/tailwind/footer.blade.php index 6fd2397e..d202ed20 100644 --- a/resources/views/components/frameworks/tailwind/footer.blade.php +++ b/resources/views/components/frameworks/tailwind/footer.blade.php @@ -41,17 +41,15 @@ class="pl-4 hidden sm:block md:block lg:block w-full" @endif - @if (filled($data)) -
- @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 -
- @endif +
+ @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 +
@includeIf(data_get($setUp, 'footer.includeViewOnBottom'))