Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Gengar-i committed Dec 6, 2023
1 parent b11fa0c commit 90c9ac9
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@
<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{{ (matcher.isAncestor(child, options.matchingDepth) or matcher.isCurrent(child)) and (child.children|length != 0) ? ' active show' }}" id="{{ child.name }}">
<div
class="tab-pane fade ibexa-main-menu__tab-pane{{
(matcher.isAncestor(child, options.matchingDepth) or matcher.isCurrent(child)) and (child.hasChildren) ? ' 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 90c9ac9

Please sign in to comment.