From 5307d2383c82091d739673b12ba07ed8a25e188e Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 29 Sep 2019 11:15:08 +0200 Subject: [PATCH] :bug: (Account Card) fix total cost with code main currency --- src/components/AccountCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AccountCard.vue b/src/components/AccountCard.vue index c949696..635bfae 100644 --- a/src/components/AccountCard.vue +++ b/src/components/AccountCard.vue @@ -64,7 +64,7 @@ export default class AccountCard extends Vue { private get totalCost(): number { return transactionService.getTotalCost( this.transactions, - this.account.mainCurrency.name + this.account.mainCurrency.code ) } }