Skip to content

Commit

Permalink
Merge branch 'bugfix/nested-nav-template' into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Apr 2, 2024
2 parents aeda5c1 + 8468583 commit e3e0fda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Fixed a bug where links within the Queue Manager utility weren’t styled like links. ([#14716](https://github.com/craftcms/cms/issues/14716))
- Fixed a bug where tooltips within element labels caused the element title to be read twice by screen readers.
- Fixed a styling issue when editing an entry without any meta fields. ([#14721](https://github.com/craftcms/cms/issues/14721))
- Fixed a bug where the `_includes/nav.twig` template wasn’t marking nested nav items as selected. ([#14735](https://github.com/craftcms/cms/pull/14735))

## 5.0.0 - 2024-03-26

Expand Down
2 changes: 1 addition & 1 deletion src/templates/_includes/nav.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
} %}
{% if item.heading is defined %}
<span>{{ item.heading }}</span>
{{ _self.list(item.nested) }}
{{ _self.list(item.nested, selectedItem) }}
{% else %}
{{ tag('a', {
class: {
Expand Down

0 comments on commit e3e0fda

Please sign in to comment.