Skip to content

Commit

Permalink
fix(Pagination): page numbers not clickable (nuxt#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonAppleMo authored and Haythamasalama committed Sep 21, 2023
1 parent e79d025 commit ad51203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/navigation/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<UButton
v-for="(page, index) of displayedPages"
:key="index"
:key="`${page}-${index}`"
:size="size"
:label="`${page}`"
v-bind="page === currentPage ? { ...ui.default.activeButton, ...activeButton } : { ...ui.default.inactiveButton, ...inactiveButton }"
Expand Down

0 comments on commit ad51203

Please sign in to comment.