From ec997db710cbd3999a0ec125dfb23532c3a08926 Mon Sep 17 00:00:00 2001 From: Mateusz Rybczonek Date: Tue, 21 May 2024 10:48:02 +0200 Subject: [PATCH] feat: histogram chart design update --- src/components/earnings/EarningsChart.vue | 2 +- src/components/earnings/EarningsData.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/earnings/EarningsChart.vue b/src/components/earnings/EarningsChart.vue index d9383ac..3291525 100644 --- a/src/components/earnings/EarningsChart.vue +++ b/src/components/earnings/EarningsChart.vue @@ -20,7 +20,7 @@ function presentCurrency(value: number): string { } if (value === 0) { - return '0 HF' + return '0' } const k = 1000 diff --git a/src/components/earnings/EarningsData.vue b/src/components/earnings/EarningsData.vue index 33efe7b..62fbdca 100644 --- a/src/components/earnings/EarningsData.vue +++ b/src/components/earnings/EarningsData.vue @@ -33,7 +33,7 @@ const totalEarnings = computed(() => {{ t('earnings.earnings_in_the_past_days', { numberOfDays: 7 }) }} - {{ t('earnings.totalling', { amount: formatCurrency(totalEarnings, 2) }) }} + {{ formatCurrency(totalEarnings, 2) }} HF