We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab7689 commit 15099f7Copy full SHA for 15099f7
templates/Modules/index/index_read_mappings.html.twig
@@ -21,7 +21,9 @@
21
{% block content %}
22
{{ appImport.heading({'level': 3, 'title': 'mappings'|trans}) }}
23
24
- <pre>{{ index.mappings|json_encode(constant('JSON_PRETTY_PRINT')) }}</pre>
+ {% if index.mappings %}
25
+ <pre>{{ index.mappings|json_encode(constant('JSON_PRETTY_PRINT')) }}</pre>
26
+ {% endif %}
27
{% endblock %}
28
{% endembed %}
29
0 commit comments