From ffdcb285225231571771b5b99eafae7d684df530 Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 28 Jun 2024 11:17:42 +0200 Subject: [PATCH] refactor: refs #6943 initialize totalAmount as undefined --- src/pages/Customer/Card/CustomerGreuges.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Customer/Card/CustomerGreuges.vue b/src/pages/Customer/Card/CustomerGreuges.vue index e793d066b..8cca2ef23 100644 --- a/src/pages/Customer/Card/CustomerGreuges.vue +++ b/src/pages/Customer/Card/CustomerGreuges.vue @@ -13,7 +13,7 @@ const { t } = useI18n(); const route = useRoute(); const stateStore = computed(() => useStateStore()); const rows = ref([]); -const totalAmount = ref(0); +const totalAmount = ref(); const filter = { include: [ @@ -110,7 +110,7 @@ const setRows = (data) => { -
+
{{ t('Total') }}: {{ toCurrency(totalAmount) }}