diff options
Diffstat (limited to 'src/containers/sidebars/topology')
| -rw-r--r-- | src/containers/sidebars/topology/machine/MachineSidebarContainer.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/containers/sidebars/topology/machine/MachineSidebarContainer.js b/src/containers/sidebars/topology/machine/MachineSidebarContainer.js index b0d5eed9..f99fc05e 100644 --- a/src/containers/sidebars/topology/machine/MachineSidebarContainer.js +++ b/src/containers/sidebars/topology/machine/MachineSidebarContainer.js @@ -3,8 +3,9 @@ import MachineSidebarComponent from "../../../../components/sidebars/topology/ma const mapStateToProps = state => { return { - machineId: state.interactionLevel.machineId, inSimulation: state.currentExperimentId !== -1, + machineId: state.objects.rack[state.objects.tile[state.interactionLevel.tileId].objectId] + .machineIds[state.interactionLevel.position - 1], }; }; |
