fix: tryfix power status
All checks were successful
Build ESP32 BMC Firmware / build (push) Successful in 55s
All checks were successful
Build ESP32 BMC Firmware / build (push) Successful in 55s
This commit is contained in:
@@ -1023,7 +1023,7 @@
|
||||
const indicator = document.getElementById('power-indicator');
|
||||
const status = document.getElementById('power-status');
|
||||
|
||||
if (result.data.power_good) {
|
||||
if (result.data.power_status === 'on') {
|
||||
indicator.classList.add('on');
|
||||
status.textContent = 'ON';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user