Pre-commit fix

This commit is contained in:
Daniel 2024-01-24 22:13:46 +02:00
parent 3bfe61cb87
commit ff8da25b74

View file

@ -380,16 +380,14 @@ String processor(const String& var) {
content += "<h4>Battery: "; content += "<h4>Battery: ";
if (batteryAllowsContactorClosing) { if (batteryAllowsContactorClosing) {
content += "<span>&#10003;</span>"; content += "<span>&#10003;</span>";
} } else {
else{
content += "<span style='color: red;'>&#10005;</span>"; content += "<span style='color: red;'>&#10005;</span>";
} }
content += " Inverter: "; content += " Inverter: ";
if (inverterAllowsContactorClosing) { if (inverterAllowsContactorClosing) {
content += "<span>&#10003;</span></h4>"; content += "<span>&#10003;</span></h4>";
} } else {
else{
content += "<span style='color: red;'>&#10005;</span></h4>"; content += "<span style='color: red;'>&#10005;</span></h4>";
} }