Skip to content

Commit

Permalink
feat(protocol-designer): disconnect well selection modal from hovered…
Browse files Browse the repository at this point in the history
… step state (#2662)

Well selection modal well contents are now only correlated with the currently selected step (the one
being edited)

Closes #2558
  • Loading branch information
b-cooper authored Nov 14, 2018
1 parent ecc8569 commit 973a8a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function mapStateToProps (state: BaseState, ownProps: OP): SP {
const labware = labwareId && allLabware && allLabware[labwareId]
const allWellContentsForSteps = wellContentsSelectors.allWellContentsForSteps(state)

const stepId = steplistSelectors.getActiveItem(state).id
const stepId = steplistSelectors.getSelectedStepId(state)
// TODO: Ian 2018-07-31 replace with util function, "findIndexOrNull"?
const orderedSteps = steplistSelectors.orderedSteps(state)
const timelineIdx = orderedSteps.findIndex(id => id === stepId)
Expand Down

0 comments on commit 973a8a5

Please sign in to comment.