Skip to content

Commit

Permalink
xchem#41 reset compoundsClasses
Browse files Browse the repository at this point in the history
  • Loading branch information
tibor-postek-m2ms committed Mar 10, 2020
1 parent c07fc87 commit 794a885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/preview/compounds/redux/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const compounds = (state = INITIAL_STATE, action = {}) => {
});

case constants.RESET_COMPOUND_CLASSES:
return Object.assign({}, state, defaultCompoundsClasses);
return Object.assign({}, state, { compoundClasses: defaultCompoundsClasses });

case constants.SET_HIGHLIGHTED_COMPOUND_ID:
return Object.assign({}, state, { highlightedCompoundId: action.payload });
Expand Down

0 comments on commit 794a885

Please sign in to comment.