From 70531398765d3d172bb61a6d6b531e861ca78681 Mon Sep 17 00:00:00 2001 From: Paul Frank Date: Sat, 6 Jan 2024 13:51:54 +0000 Subject: [PATCH] clean up --- src/views/Forecast.vue | 14 ++++++++++++-- src/views/Statistics.vue | 19 +++---------------- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/src/views/Forecast.vue b/src/views/Forecast.vue index 5adc3bc..fcf53a2 100644 --- a/src/views/Forecast.vue +++ b/src/views/Forecast.vue @@ -10,9 +10,19 @@
{{ costTotalProfitLabel }}
- {{ $t('consumption') + ': '+ formatNumberWithUnit(forecast?.consumed_energy, 'kWh') }} + {{ + $t('consumption') + + ': ' + + formatNumberWithUnit(forecast?.consumed_energy, 'kWh') + }} +
+
+ {{ + $t('home_card.solar_production') + + ': ' + + formatNumberWithUnit(forecast?.solar_energy, 'kWh') + }}
-
{{ $t('home_card.solar_production') + ': '+ formatNumberWithUnit(forecast?.solar_energy, 'kWh') }}
diff --git a/src/views/Statistics.vue b/src/views/Statistics.vue index 0ca5359..9dce45c 100644 --- a/src/views/Statistics.vue +++ b/src/views/Statistics.vue @@ -60,38 +60,25 @@