Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/dde188c3c40c01f01b2b0bc49e004f4d658aa828 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fix calculate memory when no cache value

pull/1156/head
shamoon 2 years ago
parent e549a87719
commit dde188c3c4

@ -11,5 +11,5 @@ export function calculateCPUPercent(stats) {
}
export function calculateUsedMemory(stats) {
return stats.memory_stats.usage - stats.memory_stats.stats.cache
return stats.memory_stats.usage - (stats.memory_stats.stats.cache ?? 0)
}
Loading…
Cancel
Save