From 453252c4be42bd32231ea3e82e7516cd66ac3103 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 19 Feb 2025 16:26:46 +0700 Subject: [PATCH] refactor: handle undefined stats in credit note display --- src/pages/11_credit-note/MainPage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/11_credit-note/MainPage.vue b/src/pages/11_credit-note/MainPage.vue index 625435c3..782f2d12 100644 --- a/src/pages/11_credit-note/MainPage.vue +++ b/src/pages/11_credit-note/MainPage.vue @@ -157,7 +157,7 @@ watch( color: hsl(var(--info-bg)); " > - {{ pageState.total }} + {{ stats.Pending + stats.Success || 0 }}