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.

newsletterbox - minor changes

DanielŻuławski34b4e1ab4618
diff --git a/src/Web/Grand.Web/Views/Shared/_NewsletterBox.cshtml b/src/Web/Grand.Web/Views/Shared/_NewsletterBox.cshtml
index 8dd998492..a72425743 100644
--- a/src/Web/Grand.Web/Views/Shared/_NewsletterBox.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_NewsletterBox.cshtml
@@ -20,7 +20,7 @@
placeholder="@Loc["Newsletter.Email.Placeholder"]" aria-label="@Loc["Newsletter.Email.Placeholder"]"/>
<label for="newsletter-email" class="sr-only">newsletter</label>
<div class="input-group-append">
- <button class="btn btn-secondary newsletter-email-button" id="newsletter-subscribe-button" @@click="newsletterBox('@customerSettings.NewsletterBlockAllowToUnsubscribe', '@(Url.RouteUrl("SubscribeNewsletter"))')">
+ <button class="btn btn-secondary newsletter-email-button" id="newsletter-subscribe-button" @@click="newsletterBox(@customerSettings.NewsletterBlockAllowToUnsubscribe.ToString().ToLower(), '@(Url.RouteUrl("SubscribeNewsletter"))')">
<b-icon icon="envelope"></b-icon>
</button>
</div>