summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/sidebars
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/containers/app/sidebars')
-rw-r--r--frontend/src/containers/app/sidebars/topology/machine/UnitContainer.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/containers/app/sidebars/topology/machine/UnitContainer.js b/frontend/src/containers/app/sidebars/topology/machine/UnitContainer.js
index a028ebce..f334f9f2 100644
--- a/frontend/src/containers/app/sidebars/topology/machine/UnitContainer.js
+++ b/frontend/src/containers/app/sidebars/topology/machine/UnitContainer.js
@@ -5,6 +5,7 @@ import UnitComponent from '../../../../../components/app/sidebars/topology/machi
const mapStateToProps = (state, ownProps) => {
return {
unit: state.objects[ownProps.unitType][ownProps.unitId],
+ index: ownProps.unitId,
}
}