diff --git a/packages/nc-gui/components/nc/Pagination.vue b/packages/nc-gui/components/nc/Pagination.vue index caf622827b..3efe511692 100644 --- a/packages/nc-gui/components/nc/Pagination.vue +++ b/packages/nc-gui/components/nc/Pagination.vue @@ -42,7 +42,10 @@ const goToFirstPage = () => { } const pagesList = computed(() => { - return Array.from({ length: totalPages.value }, (_, i) => i + 1) + return Array.from({ length: totalPages.value }, (_, i) => ({ + value: i + 1, + label: i + 1, + })) }) @@ -71,11 +74,10 @@ const pagesList = computed(() => {
- + - {{ p }} {{ mode !== 'full' ? '/' : 'of' }}