From e9909159dc5db91eda12437e18c1474cae848af7 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 7 Sep 2017 11:38:42 +0200 Subject: Implement first machine slot listing --- .../sidebars/topology/room/RackConstructionContainer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/containers/sidebars/topology/room') diff --git a/src/containers/sidebars/topology/room/RackConstructionContainer.js b/src/containers/sidebars/topology/room/RackConstructionContainer.js index e1a481e1..47ca43fc 100644 --- a/src/containers/sidebars/topology/room/RackConstructionContainer.js +++ b/src/containers/sidebars/topology/room/RackConstructionContainer.js @@ -1,17 +1,17 @@ import {connect} from "react-redux"; -import {startObjectConstruction, stopObjectConstruction} from "../../../../actions/topology"; +import {startRackConstruction, stopRackConstruction} from "../../../../actions/topology"; import RackConstructionComponent from "../../../../components/sidebars/topology/room/RackConstructionComponent"; const mapStateToProps = state => { return { - inObjectConstructionMode: state.construction.inObjectConstructionMode, + inRackConstructionMode: state.construction.inRackConstructionMode, }; }; const mapDispatchToProps = dispatch => { return { - onStart: () => dispatch(startObjectConstruction()), - onStop: () => dispatch(stopObjectConstruction()), + onStart: () => dispatch(startRackConstruction()), + onStop: () => dispatch(stopRackConstruction()), }; }; -- cgit v1.2.3