From 0a2ea2e94802eb5d2c4bbeff506ead63acdcefd0 Mon Sep 17 00:00:00 2001 From: Felix Ruf Date: Mon, 14 Aug 2023 17:02:15 +0200 Subject: [PATCH] fixed type error on transpilation step --- .../src/components/cashRegister/CashRegisterTable.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Resources/src/components/cashRegister/CashRegisterTable.vue b/src/Resources/src/components/cashRegister/CashRegisterTable.vue index c5d638923..2318d7d60 100644 --- a/src/Resources/src/components/cashRegister/CashRegisterTable.vue +++ b/src/Resources/src/components/cashRegister/CashRegisterTable.vue @@ -11,7 +11,7 @@ class="max-h-[62px] border-b-2 border-gray-200 text-right text-[12px] xl:text-[18px]" > - {{ `${transaction.name}, ${transaction.firstName}` }} + {{ `${(transaction as IUserTransaction).name}, ${(transaction as IUserTransaction).firstName}` }} {{ new Intl.NumberFormat(locale, { style: 'currency', currency: 'EUR' }).format(parseFloat((transaction as IUserTransaction).amount)) }} @@ -21,7 +21,7 @@ class="flex h-full w-full content-center justify-end text-primary" > - - + +