Skip to content

Commit 8f634df

Browse files
committed
fix: fix page numeration for the backend pagination in afcl table
1 parent e446c5c commit 8f634df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/afcl/Table.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
100100
const totalPages = computed(() => {
101101
if (typeof props.data === 'function') {
102-
return recievedTotalPages.value;
102+
return Math.ceil(recievedTotalPages.value / props.pageSize);
103103
};
104104
return Math.ceil(props.data.length / props.pageSize);
105105
});

0 commit comments

Comments
 (0)