orderiom-api-package 0.4.106 → 0.4.107
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/package.json +1 -1
- package/src/modules/order.js +4 -4
package/package.json
CHANGED
package/src/modules/order.js
CHANGED
|
@@ -602,11 +602,11 @@ const actions = {
|
|
|
602
602
|
result[element[0]] = element[1];
|
|
603
603
|
return result;
|
|
604
604
|
}, {}),
|
|
605
|
+
}).then(() => {
|
|
606
|
+
commit("product/SetShoppingCart", [], {root: true});
|
|
607
|
+
commit("product/setBasketInfo", {}, {root: true});
|
|
608
|
+
commit("product/setDeliveryTime", "", {root: true});
|
|
605
609
|
});
|
|
606
|
-
|
|
607
|
-
commit("product/SetShoppingCart", [], {root: true});
|
|
608
|
-
commit("product/setBasketInfo", {}, {root: true});
|
|
609
|
-
commit("product/setDeliveryTime", "", {root: true});
|
|
610
610
|
}).catch(error => {
|
|
611
611
|
const status = error.response ? error.response.status : null;
|
|
612
612
|
if (status === 422) {
|