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 --- .../src/containers/app/sidebars/topology/rack/EmptySlotContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/containers/app/sidebars/topology/rack/EmptySlotContainer.js') diff --git a/frontend/src/containers/app/sidebars/topology/rack/EmptySlotContainer.js b/frontend/src/containers/app/sidebars/topology/rack/EmptySlotContainer.js index 07439dc9..d580a3e0 100644 --- a/frontend/src/containers/app/sidebars/topology/rack/EmptySlotContainer.js +++ b/frontend/src/containers/app/sidebars/topology/rack/EmptySlotContainer.js @@ -4,7 +4,7 @@ import EmptySlotComponent from '../../../../../components/app/sidebars/topology/ const mapStateToProps = state => { return { - inSimulation: state.currentExperimentId !== -1, + inSimulation: state.currentExperimentId !== '-1', } } -- cgit v1.2.3