fix return type for center resolver

This commit is contained in:
2021-11-22 12:22:28 +01:00
parent 4664394a89
commit fe3d4e1f0a
2 changed files with 14 additions and 3 deletions

View File

@@ -149,10 +149,9 @@
{% endif %}
</li>
{% if options['addCenter'] and person|chill_resolve_center|length > 0 %}
{% set centers = person|chill_resolve_center %}
<li>
<i class="fa fa-li fa-long-arrow-right"></i>
{% for c in centers %}
{% for c in person|chill_resolve_center %}
{{ c.name|upper }}{% if not loop.last %}, {% endif %}
{% endfor %}
</li>