fix crash

This commit is contained in:
cjkas 2026-03-18 08:27:03 +01:00
parent 88fdfa577a
commit c94819e928
11 changed files with 40 additions and 13 deletions

View file

@ -246,6 +246,8 @@
<span id="spanMaxMemory" style="text-align:right;width:120px;"></span>
<span style="text-align:right;display:inline-block;color:#00bcd4;">Min: </span>
<span id="spanMinMemory" style="text-align:right;width:120px;"></span>
<span style="text-align:right;display:inline-block;color:#00bcd4;">Uptime: </span>
<span id="spanUptime" style="text-align:right;width:120px;"></span>
</div>
</div>
<div class="button-container">

View file

@ -4385,6 +4385,8 @@ class Firmware {
if (sp) sp.innerHTML = mem.max.fmt('#,##0');
sp = document.getElementById('spanMinMemory');
if (sp) sp.innerHTML = mem.min.fmt('#,##0');
sp = document.getElementById('spanUptime');
if (sp) sp.innerHTML = mem.uptime / 3600000;
}