Fix attribute stock input

This commit is contained in:
dominik-zeglen 2020-04-14 13:36:55 +02:00
parent 715303e025
commit e52b2bb74a

View file

@ -385,8 +385,8 @@ function reduceProductVariantCreateFormData(
return changeAttributeValueStock( return changeAttributeValueStock(
prevState, prevState,
action.changeAttributeValueStock.valueId, action.changeAttributeValueStock.valueId,
action.changeAttributeValueStock.warehouseIndex, action.changeAttributeValueStock.quantity,
action.changeAttributeValueStock.quantity action.changeAttributeValueStock.warehouseIndex
); );
case ProductVariantCreateReducerActionType.changeApplyPriceToAttributeId: case ProductVariantCreateReducerActionType.changeApplyPriceToAttributeId:
return changeApplyPriceToAttributeId( return changeApplyPriceToAttributeId(