Skip to content

Commit

Permalink
fix(protocol-designer): unhighlight wells on deselect in well selecti…
Browse files Browse the repository at this point in the history
…on modal (#2491)

Closes #2463
  • Loading branch information
b-cooper authored Oct 16, 2018
1 parent d9a48bf commit 5dfbf25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class WellSelectionModal extends React.Component<Props, State> {
}

deselectWells = (wells: Wells) => {
this.setState({selectedWells: omit(this.state.selectedWells, Object.keys(wells))})
this.setState({selectedWells: omit(this.state.selectedWells, Object.keys(wells)), highlightedWells: {}})
}

handleSave = () => {
Expand Down

0 comments on commit 5dfbf25

Please sign in to comment.