diff options
Diffstat (limited to 'frontend/src/components/app/sidebars')
| -rw-r--r-- | frontend/src/components/app/sidebars/topology/building/NewRoomConstructionComponent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/app/sidebars/topology/building/NewRoomConstructionComponent.js b/frontend/src/components/app/sidebars/topology/building/NewRoomConstructionComponent.js index 362483bf..75b00c54 100644 --- a/frontend/src/components/app/sidebars/topology/building/NewRoomConstructionComponent.js +++ b/frontend/src/components/app/sidebars/topology/building/NewRoomConstructionComponent.js @@ -6,7 +6,7 @@ const NewRoomConstructionComponent = ({ onCancel, currentRoomInConstruction, }) => { - if (currentRoomInConstruction === -1) { + if (currentRoomInConstruction === '-1') { return ( <div className="btn btn-outline-primary btn-block" onClick={onStart}> <span className="fa fa-plus mr-2"/> |
