Skip to content

Commit 15099f7

Browse files
-
1 parent 4ab7689 commit 15099f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/Modules/index/index_read_mappings.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
{% block content %}
2222
{{ appImport.heading({'level': 3, 'title': 'mappings'|trans}) }}
2323

24-
<pre>{{ index.mappings|json_encode(constant('JSON_PRETTY_PRINT')) }}</pre>
24+
{% if index.mappings %}
25+
<pre>{{ index.mappings|json_encode(constant('JSON_PRETTY_PRINT')) }}</pre>
26+
{% endif %}
2527
{% endblock %}
2628
{% endembed %}
2729
{% endblock %}

0 commit comments

Comments
 (0)