Skip to content

Commit

Permalink
Added additional check if child tab have children
Browse files Browse the repository at this point in the history
  • Loading branch information
Gengar-i committed Dec 6, 2023
1 parent cf7ea6b commit b11fa0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div class="ibexa-main-menu__navbar ibexa-main-menu__navbar--second-level {{ extra_class }}" style="{{ second_menu_width_style }}">
<div class="tab-content ibexa-main-menu__tab-content">
{% for child in current_item.children %}
<div class="tab-pane fade ibexa-main-menu__tab-pane" id="{{ child.name }}">
<div class="tab-pane fade ibexa-main-menu__tab-pane{{ (matcher.isAncestor(child, options.matchingDepth) or matcher.isCurrent(child)) and (child.children|length != 0) ? ' active show' }}" id="{{ child.name }}">
<ul class="ibexa-main-menu__items-list" style="{{ second_menu_list_width_style }}">
<li class="ibexa-main-menu__item ibexa-main-menu__item--popup-container">
<button
Expand Down

0 comments on commit b11fa0c

Please sign in to comment.