Skip to content

Commit 8f0c7e3

Browse files
committed
Update page number indicator
1 parent a7f0eef commit 8f0c7e3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib/components/Table/TablePagination.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,7 @@
117117
<div class="flex justify-end items-center">
118118
<span class="text-sm text-gray-500">
119119
{#if $pageCount > 0}
120-
{#if $pageCount == 1}
121-
1 page
122-
{:else}
123-
{$pageCount} pages
124-
{/if}
120+
Page {$pageIndex + 1} of {$pageCount}
125121
{:else}
126122
No pages
127123
{/if}

0 commit comments

Comments
 (0)