From 06f099a62b26af398e5552af9bc799c394ae822c Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 24 Oct 2024 17:47:43 +0700 Subject: [PATCH] fix: pagination --- src/pages/05_quotation/MainPage.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index b8f3590f..b8002aea 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -657,7 +657,9 @@ async function storeDataLocal(id: string) { {{ $t('general.recordsPage', { resultcurrentPage: quotationData.length, - total: pageState.total, + total: pageState.inputSearch + ? quotationData.length + : pageState.total, }) }}