Skip to content
Closed
Show file tree
Hide file tree
Changes from 6 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
752 changes: 752 additions & 0 deletions src/components/bcl-navbar/__snapshots__/navbar.test.js.snap

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/components/bcl-navbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"version": "1.8.2",
"dependencies": {
"@openeuropa/bcl-form": "^1.8.2",
"@openeuropa/bcl-mega-menu": "^1.8.2",
"@openeuropa/bcl-navigation": "^1.8.2"
},
"publishConfig": {
Expand Down
2 changes: 2 additions & 0 deletions src/components/bcl-navigation/navigation.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@
{% include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _item only %}
{% elseif _item.button is defined %}
{% include '@oe-bcl/bcl-button/button.html.twig' with _item only %}
{% elseif _item.mega_menu is defined %}
{% include '@oe-bcl/bcl-mega-menu/mega-menu.html.twig' with _item only %}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double check that it renders correclty when used inside a menu

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, fixed and now renders okay inside a menu

{% else %}
{% include '@oe-bcl/bcl-link/link.html.twig' with _item only %}
{% endif %}
Expand Down
Loading
Loading