buildTemps uses correct array
This commit is contained in:
1 parent
c9f454854c
commit
0b85a47613
1 file changed
+1
-1
@@ -324,7 +324,7 @@ const InfrastructureDetails = () => {
|
|||||||
|
|
||||||
if (numCores === 0) return [];
|
if (numCores === 0) return [];
|
||||||
|
|
||||||
const temps = monitor?.checks?.map((check) => {
|
const temps = checks.map((check) => {
|
||||||
if (check.cpu.temperature.length > numCores) {
|
if (check.cpu.temperature.length > numCores) {
|
||||||
numCores = check.cpu.temperature.length;
|
numCores = check.cpu.temperature.length;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user