Skip to content

Commit

Permalink
7923 - Can’t browse some localized sub-categories (#7925)
Browse files Browse the repository at this point in the history
Co-authored-by: Théo Chevalier <theo.chevalier11@gmail.com>
  • Loading branch information
fessehaye and TheoChevalier committed Nov 24, 2021
1 parent 4f30cb0 commit deacc3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h1 class="h1-heading text-center mt-0">{{ page.header }}</h1>
{% localizedroutablepageurl home_page 'category-view' original.slug as cat_url %}
<a class="{% if current_category.name != cat.parent.name and current_category.parent.name != cat.parent.name %} tw-hidden {% endif %} subcategories {{ tailwind_classes }} {% if current_category.name == cat.name %}{{ selected_classes }}{% else %}{{ default_classes }}{% endif %}"
href="{{ cat_url }}"
data-parent="{{ cat.parent.name }}"
data-parent="{{ cat.parent.localized.name }}"
data-name="{{ cat.name }}">
{{ cat.name }}
</a>
Expand Down

0 comments on commit deacc3a

Please sign in to comment.