From 9e7c2539cbad2a3a14d86801f23d00e24f949a73 Mon Sep 17 00:00:00 2001 From: Mateusz Rybczonek Date: Mon, 20 May 2024 12:52:00 +0200 Subject: [PATCH] fix: histogram chart --- src/components/earnings/EarningsCard.vue | 6 ++- src/components/earnings/EarningsChart.vue | 32 ++++++++++++-- src/components/earnings/EarningsData.vue | 54 ++++++++++++++--------- src/interfaces/HposInterface.ts | 3 +- src/pages/EarningsPage.vue | 17 +++---- src/store/dashboard.ts | 14 +++++- src/types/types.ts | 4 +- 7 files changed, 92 insertions(+), 38 deletions(-) diff --git a/src/components/earnings/EarningsCard.vue b/src/components/earnings/EarningsCard.vue index 0d55f31..40ef407 100644 --- a/src/components/earnings/EarningsCard.vue +++ b/src/components/earnings/EarningsCard.vue @@ -13,6 +13,7 @@ const emit = defineEmits(['try-again-clicked']) const props = defineProps<{ data: EarningsData isLoading: boolean + isLoadingStats: boolean isError: boolean }>() @@ -24,7 +25,10 @@ const props = defineProps<{ @try-again-clicked="emit('try-again-clicked')" >