Skip to content

Commit

Permalink
Update header-mega-menu.liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
cm-sl authored Sep 5, 2023
1 parent 17091d8 commit b06f1cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion snippets/header-mega-menu.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@

<nav class="header__inline-menu">
<ul class="list-menu list-menu--inline" role="list">
{%- for link in section.settings.menu.links -%}
{%- if customer.metafields.sparklayer.authentication -%}
{% assign menu = linklists.b2b-menu %}
{%- else -%}
{% assign menu = linklists[section.settings.menu] %}
{%- endif -%}
{%- for link in menu.links -%}
<li>
{%- if link.links != blank -%}
<header-menu>
Expand Down

0 comments on commit b06f1cf

Please sign in to comment.