Skip to content

Commit

Permalink
OEL-1540: Using is empty instead of is null as condition to render co…
Browse files Browse the repository at this point in the history
…ntent only or full inpage_navigation pattern.
  • Loading branch information
escuriola committed Jun 7, 2022
1 parent 3e401f0 commit b02b7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/content/node--oe-sc-event--full.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
{% endset %}

<article{{attributes}}>
{% if inpage_navigation_links is null %}
{% if inpage_navigation_links is empty %}
{{ inpage_navigation_fields }}
{% else %}
{{ pattern('inpage_navigation', {
Expand Down

0 comments on commit b02b7bb

Please sign in to comment.