diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-07 17:26:00 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:58 +0200 |
| commit | a7d2ac48224c4226003d67f77143738cc72aa016 (patch) | |
| tree | 852c52f2445e9a20d7c719bb86daf6eb3ab5ba38 /src/components | |
| parent | a08deff7909b68a89662f8b93845918bdc613732 (diff) | |
Fix line overflow in machine fill check
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/sidebars/topology/rack/MachineComponent.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/sidebars/topology/rack/MachineComponent.js b/src/components/sidebars/topology/rack/MachineComponent.js index 56e723bc..c395b522 100644 --- a/src/components/sidebars/topology/rack/MachineComponent.js +++ b/src/components/sidebars/topology/rack/MachineComponent.js @@ -37,7 +37,8 @@ const MachineComponent = ({position, machine, onClick}) => ( <UnitIcon id="storage" type="storage"/> : undefined } - {machine.cpuIds.length + machine.gpuIds.length + machine.memoryIds.length + machine.storageIds.length === 0 ? + {machine.cpuIds.length + machine.gpuIds.length + machine.memoryIds.length + + machine.storageIds.length === 0 ? <span className="badge badge-default badge-warning"> Machine with no units </span> : |
