From 56956736ab030eb673c300c58ae912acee252c5b Mon Sep 17 00:00:00 2001 From: Mateusz Rybczonek Date: Wed, 15 Nov 2023 09:25:08 +0100 Subject: [PATCH] feat(happ-card): update component to new data structure returned by the API --- src/components/HAppCard.vue | 11 ++--------- src/components/HAppCardUsage.vue | 4 ++-- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/components/HAppCard.vue b/src/components/HAppCard.vue index b5ba268..e41a80c 100644 --- a/src/components/HAppCard.vue +++ b/src/components/HAppCard.vue @@ -40,10 +40,10 @@ -
+
{{ $t('$.last_7_days') }}: -  {{ earnings }} HF +  {{ formatCurrency(Number(props.happ.earnings.last7Days)) }} HF
@@ -54,7 +54,6 @@