Skip to content

Commit

Permalink
Fixed 'A' button
Browse files Browse the repository at this point in the history
  • Loading branch information
ag-m2ms committed Dec 10, 2020
1 parent 653e165 commit 4be4ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/preview/molecule/moleculeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ const MoleculeView = memo(
)}
onClick={() => {
// always deselect all if are selected only some of options
selectedAll.current = hasSomeValuesOn ? false : !selectedAll.current;
selectedAll.current = hasSomeValuesOn || hasAllValuesOn ? false : !selectedAll.current;

setCalledFromAll();
onLigand(true);
Expand Down

0 comments on commit 4be4ac6

Please sign in to comment.