From 52865c97f820b883977179930ce4961abdb39c12 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Fri, 3 Jul 2020 11:46:29 +0200 Subject: Fix integer IDs and topology deletion --- .../app/sidebars/topology/building/NewRoomConstructionComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/components/app') 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 (
-- cgit v1.2.3