diff --git a/src/components/pagination/Pagination.svelte b/src/components/pagination/Pagination.svelte index 79e0667..24bbf4f 100644 --- a/src/components/pagination/Pagination.svelte +++ b/src/components/pagination/Pagination.svelte @@ -23,14 +23,26 @@ const onClickPrev = event => { if (prevDisabled) return trigger('prev', --current_page) + trigger('change', current_page) } const onClickNext = event => { if (nextDisabled) return trigger('next', ++current_page) + trigger('change', current_page) } + + {#if shouldDisplay} Page {page} of {total_pages}