Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cms_bootstrap/templates/bootstrap4/menu/ng-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% spaceless %}
{% with item_class=item_class|default:"nav-item" %}
{% for child in children %}
{% if child.is_leaf_node %}
{% if child.is_leaf_node or child.children|length == 0%}
<li class="{% if child.selected %}active {% endif %}{{ item_class }}">
<a class="nav-link" href="{{ child.attr.redirect_url|default:child.get_absolute_url }}">
{% menu_icon child.id %}
Expand Down