Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

publicaxios - minor changes

DanielŻuławski8505e3caa540
diff --git a/src/Web/Grand.Web/wwwroot/theme/script/public.axios.js b/src/Web/Grand.Web/wwwroot/theme/script/public.axios.js
index 718864dff..559982e52 100644
--- a/src/Web/Grand.Web/wwwroot/theme/script/public.axios.js
+++ b/src/Web/Grand.Web/wwwroot/theme/script/public.axios.js
@@ -42,7 +42,13 @@ var AxiosCart = {
this.AxiosCart.success_process(response);
}).catch(function (error) {
error.axiosFailure;
- }).then(function (response) {
+ }).then(function () {
+ if (typeof vmwishlist !== 'undefined') {
+ vmwishlist.getModel();
+ }
+ if (typeof vmorder !== 'undefined') {
+ vmorder.getModel();
+ }
this.AxiosCart.resetLoadWaiting();
});
},