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.

JS - remove console.log

support4655e19b8894
diff --git a/src/Web/Grand.Web/Views/Product/Components/ProductEmailAFriend/Default.cshtml b/src/Web/Grand.Web/Views/Product/Components/ProductEmailAFriend/Default.cshtml
index 7f10ea82b..8d3d383c3 100644
--- a/src/Web/Grand.Web/Views/Product/Components/ProductEmailAFriend/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Product/Components/ProductEmailAFriend/Default.cshtml
@@ -106,7 +106,6 @@
'Accept': 'application/json'
}
}).then(function (response) {
- console.log(response);
emailafriend.Message.Result = response.data.Result;
emailafriend.Message.SuccessfullySent = response.data.SuccessfullySent;
diff --git a/src/Web/Grand.Web/wwwroot/theme/script/public.push.notifications.js b/src/Web/Grand.Web/wwwroot/theme/script/public.push.notifications.js
index 9234bb474..bbdf887a7 100644
--- a/src/Web/Grand.Web/wwwroot/theme/script/public.push.notifications.js
+++ b/src/Web/Grand.Web/wwwroot/theme/script/public.push.notifications.js
@@ -80,8 +80,7 @@
});
messaging.onMessage(function (payload) {
- console.log(payload);
-
+
const notificationTitle = payload.notification.title;
const notificationOptions = {
body: payload.notification.body,