Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix issue with menu change not appearing because of Turbo Links
Matthew Kennedy6b66e6933719
diff --git a/frontend/app/views/spree/shared/_footer.html.erb b/frontend/app/views/spree/shared/_footer.html.erbindex daa2f17487..71366a2f88 100644--- a/frontend/app/views/spree/shared/_footer.html.erb+++ b/frontend/app/views/spree/shared/_footer.html.erb@@ -1,5 +1,5 @@<% cache spree_menu_cache_key('footer') do %>- <footer id="footer" class="pt-2 mx-auto border-top footer-spree" data-turbolinks-permanent>+ <footer id="footer" class="pt-2 mx-auto border-top footer-spree"><div class="container"><div class="row d-xl-flex justify-content-xl-around pb-xl-5"><div class="d-flex d-xl-block flex-xl-grow-0 col-xl-4">diff --git a/frontend/app/views/spree/shared/_header.html.erb b/frontend/app/views/spree/shared/_header.html.erbindex 3febd143b6..733b534e15 100644--- a/frontend/app/views/spree/shared/_header.html.erb+++ b/frontend/app/views/spree/shared/_header.html.erb@@ -1,6 +1,6 @@<%# leaving #spree-header div for legacy support %><% cache spree_menu_cache_key('header') do %>- <div id="spree-header" data-turbolinks-permanent>+ <div id="spree-header"><header id="header" class="d-flex align-items-center header-spree border-bottom"><div class="container-fluid h-100 header-spree-fluid"><div class="d-flex flex-nowrap align-items-center h-100">diff --git a/frontend/app/views/spree/shared/_nav_bar.html.erb b/frontend/app/views/spree/shared/_nav_bar.html.erbindex 0aa43ab2b7..182a308680 100644--- a/frontend/app/views/spree/shared/_nav_bar.html.erb+++ b/frontend/app/views/spree/shared/_nav_bar.html.erb@@ -1,4 +1,4 @@-<ul id="nav-bar" class="nav align-items-center d-flex flex-nowrap justify-content-end navbar-right">+<ul id="nav-bar" class="nav align-items-center d-flex flex-nowrap justify-content-end navbar-right" data-turbolinks-permanent><li><div class="navbar-right-search-menu"><button type="button" class="navbar-right-dropdown-toggle search-icons" aria-label="<%= Spree.t('nav_bar.show_search') %>">