Skip to content

Commit

Permalink
OEL-1540: Do not include library if links empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
escuriola committed Jun 2, 2022
1 parent d87df30 commit 66d795f
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
#}
{% if links is not null %}
{{ attach_library('oe_bootstrap_theme/inpage_navigation') }}
{% include '@oe-bcl/inpage-navigation' with {
'title': title,
'links': links,
'content': content,
'full_layout': true,
'id': inpage_navigation_id,
} only %}
{% endif %}
{% include '@oe-bcl/inpage-navigation' with {
'title': title,
'links': links,
'content': content,
'full_layout': true,
'id': inpage_navigation_id,
} only %}

0 comments on commit 66d795f

Please sign in to comment.