buildTemps uses correct array

This commit is contained in:
Alex Holliday committed 2024-11-26 09:48:35 +08:00
1 parent c9f454854c
commit 0b85a47613
1 file changed
+1 -1
@@ -324,7 +324,7 @@ const InfrastructureDetails = () => {
if (numCores === 0) return [];
const temps = monitor?.checks?.map((check) => {
const temps = checks.map((check) => {
if (check.cpu.temperature.length > numCores) {
numCores = check.cpu.temperature.length;
}