From 35d5a06fb6538a088fced828afd0bebc91802420 Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Thu, 25 May 2023 11:13:50 +0200 Subject: [PATCH] Show soc functions for guest or offline vehicles if a soc is provided by the charger (#8101) --- assets/js/components/Loadpoint.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/Loadpoint.vue b/assets/js/components/Loadpoint.vue index 50ff4bd67..17ad79ea9 100644 --- a/assets/js/components/Loadpoint.vue +++ b/assets/js/components/Loadpoint.vue @@ -294,7 +294,7 @@ export default { return this.charging && this.chargePower > 0; }, socBasedCharging: function () { - return !this.vehicleFeatureOffline && this.vehiclePresent; + return (!this.vehicleFeatureOffline && this.vehiclePresent) || this.vehicleSoc > 0; }, sessionOptions: function () { const result = [SESSION.TIME, SESSION.SOLAR];