code optimization
This commit is contained in:
@@ -100,7 +100,6 @@ export default function ThroughPutData() {
|
||||
.forEach(storage => {
|
||||
if (storage.activeTime > 0) {
|
||||
// totalActiveTime += storage.activeTime;
|
||||
//
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -178,7 +177,7 @@ export default function ThroughPutData() {
|
||||
}
|
||||
|
||||
const allInactive = !anyArmActive && !anyVehicleActive && !anyMachineActive;
|
||||
if (materials.length >= 0 && materialHistory.length > 0) {
|
||||
if (materialHistory.length > 0) {
|
||||
|
||||
let totalCycleTimeSum = 0;
|
||||
let cycleCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user