diff --git a/controller/internal/web/templates/monitoring.html b/controller/internal/web/templates/monitoring.html index 5b78bee..6a175c0 100644 --- a/controller/internal/web/templates/monitoring.html +++ b/controller/internal/web/templates/monitoring.html @@ -532,7 +532,7 @@ try { var resp = await fetch('/api/system/info'); var json = await resp.json(); - if (json.ok && json.data) usedMB = json.data.used_mem_mb || 0; + if (json.ok && json.data && json.data.system) usedMB = json.data.system.used_mem_mb || 0; } catch(e) {} if (!usedMB) return;