bugfix in parcours display if deathdate of associated person is not defined (ex. for thirdparty)

This commit is contained in:
2022-01-21 17:00:04 +01:00
parent c736c2b5bb
commit cdbae1eade
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +9,7 @@
action: 'show', displayBadge: true,
targetEntity: { name: type, id: entity.id },
buttonText: entity|chill_entity_render_string,
isDead: entity.deathdate is not null,
isDead: entity.deathdate is defined and entity.deathdate is not null,
parent: parent
} %}
{% endmacro %}