diff --git a/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue b/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue index 8f038ca43..72eb8c80f 100644 --- a/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue +++ b/src/modules/11_discipline/components/2_InvestigateFacts/MainPage.vue @@ -34,17 +34,13 @@ const resetFilter = () => { }; const attrs = ref(useAttrs()); -const paging = ref(true); const pagination = ref({ // sortBy: "desc", descending: false, page: 1, rowsPerPage: 10, }); -const paginationLabel = (start: string, end: string, total: string) => { - if (paging.value == true) return " " + start + "-" + end + " ใน " + total; - else return start + "-" + end + " ใน " + total; -}; + const clickAdd = () => { router.push(`/discipline/investigatefacts/add`); @@ -156,7 +152,6 @@ onMounted(async() => { class="custom-header-table" v-bind="attrs" :visible-columns="dataInvestigate.visibleColumns" - :pagination-label="paginationLabel" v-model:pagination="pagination" >