We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833ee1b commit f8a6616Copy full SHA for f8a6616
packages/sync-actions/src/products.js
@@ -38,10 +38,7 @@ function createProductMapActions (mapActionGroup) {
38
allActions.push(mapActionGroup('variants', () =>
39
productActions.actionsMapVariants(diff, oldObj, newObj)))
40
41
- const changeMasterVariantActions =
42
- productActions.actionsMapMasterVariant(oldObj, newObj)
43
- if (changeMasterVariantActions.length > 0)
44
- allActions.push(changeMasterVariantActions)
+ allActions.push(productActions.actionsMapMasterVariant(oldObj, newObj))
45
46
allActions.push(mapActionGroup('attributes', () =>
47
productActions.actionsMapAttributes(diff, oldObj, newObj,
0 commit comments