summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/sidebars/topology
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-28 00:54:00 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-28 11:38:34 +0100
commit65d909bf76b8c29f20e733494fd4a0b1b2cd5afa (patch)
treeedb9141c7c0dff0dd43868424169386bcf423ec7 /frontend/src/containers/app/sidebars/topology
parent7e05dc7a885cf562052461565376e174e6a9c962 (diff)
Migrate popovers to Reactstrap
Diffstat (limited to 'frontend/src/containers/app/sidebars/topology')
-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,
}
}