Skip to content

Commit

Permalink
Merge pull request bassmaster187#1328 from Adminius/patch-12
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
bassmaster187 authored Jul 5, 2024
2 parents 4d695ef + 2a69475 commit e2c924b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeslaLogger/www/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function GetCurrentData()
var datetime = at.toLocaleTimeString(loc, { hour: '2-digit', minute: '2-digit' });

$('#car_statusLabel').text("<?php t("Charging"); ?>:");
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<br>" +
jsonData["charger_voltage"]+"V / " + jsonData["charger_actual_current_calc"]+"A / "+ jsonData["charger_phases_calc"]+"P<br>" +
Expand Down

0 comments on commit e2c924b

Please sign in to comment.