@zenky/storefront-vue 0.9.40 → 0.9.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -5
- package/dist/esm/index.js +1 -5
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2700,11 +2700,7 @@ function useModifiers(product, variant, recalculate) {
|
|
|
2700
2700
|
modifiers.value = getModifiers(product, variant);
|
|
2701
2701
|
});
|
|
2702
2702
|
vue.watch(selectedModifiers, async () => {
|
|
2703
|
-
|
|
2704
|
-
if (hash === null) {
|
|
2705
|
-
return;
|
|
2706
|
-
}
|
|
2707
|
-
modifiersHash.value = hash;
|
|
2703
|
+
modifiersHash.value = await recalculate(selectedModifiers);
|
|
2708
2704
|
});
|
|
2709
2705
|
return {
|
|
2710
2706
|
modifiers,
|
package/dist/esm/index.js
CHANGED
|
@@ -2692,11 +2692,7 @@ function useModifiers(product, variant, recalculate) {
|
|
|
2692
2692
|
modifiers.value = getModifiers(product, variant);
|
|
2693
2693
|
});
|
|
2694
2694
|
watch(selectedModifiers, async () => {
|
|
2695
|
-
|
|
2696
|
-
if (hash === null) {
|
|
2697
|
-
return;
|
|
2698
|
-
}
|
|
2699
|
-
modifiersHash.value = hash;
|
|
2695
|
+
modifiersHash.value = await recalculate(selectedModifiers);
|
|
2700
2696
|
});
|
|
2701
2697
|
return {
|
|
2702
2698
|
modifiers,
|