diff --git a/src/modules/03_recruiting/components/TableCandidate.vue b/src/modules/03_recruiting/components/TableCandidate.vue
index 27c3e23f9..c8bb3e30a 100644
--- a/src/modules/03_recruiting/components/TableCandidate.vue
+++ b/src/modules/03_recruiting/components/TableCandidate.vue
@@ -67,8 +67,10 @@
-
+
+
@@ -84,10 +86,11 @@
{{ statusCandidate(props.row.status) }}
@@ -395,7 +395,7 @@ const fetchDataCom = async () => {
// paging
const page = ref(1)
-const page_size = ref(5)
+const page_size = ref(25)
const total = ref(0)
const maxPage = ref(1)
@@ -409,10 +409,10 @@ const fetchData = async (loading: boolean = true) => {
loading === true ?? showLoader()
await http
.get(config.API.candidateOfPeriodExam(status.value, examId.value) + `?page=${page.value}&pageSize=${page_size.value}&keyword=${filter.value}`)
- .then((res) => {
+ .then(async (res) => {
const data = res.data.result;
total.value = data.total
- maxPage.value = Math.ceil(data.total / page_size.value)
+ maxPage.value = await Math.ceil(data.total / page_size.value)
rows.value = [];
data.data.map((r: any) => {
rows.value.push({