add prev/next

This commit is contained in:
Pham Tu 2024-01-20 18:39:40 +07:00
parent 6a60b0dd12
commit 497dab0dcd
No known key found for this signature in database
GPG Key ID: 7460FD99133ADA1C

View File

@ -66,7 +66,7 @@ function goPreviousPage() {
{{ page }}
</button>
</div>
<div v-if="nextKey" class="btn-group">
<div v-if="nextKey && Number(total ?? '0') === 0" class="btn-group">
<button
v-if="nextKeys.length > 0"
class="btn bg-gray-100 text-gray-500 hover:text-white hover:btn-primary border-none dark:bg-gray-800 dark:text-white"