Skip to content

Commit

Permalink
Merge pull request #4445 from reactioncommerce/fix-4401-tax-and-inven…
Browse files Browse the repository at this point in the history
…tory-toggles-not-working-2

(fix) #4401 Tax and inventory toggle switches do not work (2)
  • Loading branch information
spencern committed Jul 18, 2018
2 parents e6fdded + 9b23e50 commit f44032a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -54,7 +54,7 @@ class VariantForm extends Component {

componentWillReceiveProps(nextProps) {
const nextVariant = nextProps.variant || {};
const currentVariant = this.state.variant || {};
const currentVariant = this.props.variant || {};

if (_.isEqual(nextVariant, currentVariant) === false) {
for (const fieldName of fieldNames) {
Expand Down

0 comments on commit f44032a

Please sign in to comment.