diff options
Diffstat (limited to 'src/components/app/sidebars/topology/rack/MachineComponent.js')
| -rw-r--r-- | src/components/app/sidebars/topology/rack/MachineComponent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/app/sidebars/topology/rack/MachineComponent.js b/src/components/app/sidebars/topology/rack/MachineComponent.js index 545bb916..0ba4503d 100644 --- a/src/components/app/sidebars/topology/rack/MachineComponent.js +++ b/src/components/app/sidebars/topology/rack/MachineComponent.js @@ -15,7 +15,7 @@ const UnitIcon = ({id, type}) => ( const MachineComponent = ({position, machine, inSimulation, machineLoad, onClick}) => { let color = "white"; - if (inSimulation && machineLoad) { + if (inSimulation && machineLoad >= 0) { color = convertLoadToSimulationColor(machineLoad); } const hasNoUnits = machine.cpuIds.length + machine.gpuIds.length + machine.memoryIds.length |
