From 269241aa29264f1ec417c2abf61f1555400c6ce2 Mon Sep 17 00:00:00 2001 From: Brian Cooper Date: Tue, 16 Oct 2018 11:18:28 -0400 Subject: [PATCH] fix(protocol-designer): unhighlight wells on deselect in well selection modal Closes #2463 --- .../StepEditForm/WellSelectionInput/WellSelectionModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol-designer/src/components/StepEditForm/WellSelectionInput/WellSelectionModal.js b/protocol-designer/src/components/StepEditForm/WellSelectionInput/WellSelectionModal.js index 39d639b2020..5fe4fa9bbd0 100644 --- a/protocol-designer/src/components/StepEditForm/WellSelectionInput/WellSelectionModal.js +++ b/protocol-designer/src/components/StepEditForm/WellSelectionInput/WellSelectionModal.js @@ -63,7 +63,7 @@ class WellSelectionModal extends React.Component { } 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 = () => {