From 2a69475dc55de53f439bd9041799a58120689eb4 Mon Sep 17 00:00:00 2001 From: Eugen Date: Fri, 5 Jul 2024 11:27:23 +0200 Subject: [PATCH] Typo --- TeslaLogger/www/admin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TeslaLogger/www/admin/index.php b/TeslaLogger/www/admin/index.php index 485c67beb..ab017446e 100644 --- a/TeslaLogger/www/admin/index.php +++ b/TeslaLogger/www/admin/index.php @@ -165,7 +165,7 @@ function GetCurrentData() var datetime = at.toLocaleTimeString(loc, { hour: '2-digit', minute: '2-digit' }); $('#car_statusLabel').text(":"); - if(jsonData["charger_phases_calc" > 0]) + if(jsonData["charger_phases_calc"] > 0) { $('#car_status').html(jsonData["charger_power_calc_w"] + " W / +" + jsonData["charge_energy_added"] + " kWh
" + jsonData["charger_voltage"]+"V / " + jsonData["charger_actual_current_calc"]+"A / "+ jsonData["charger_phases_calc"]+"P
" +