fix showing person without birthdate

This commit is contained in:
Julien Fastré 2021-06-15 17:22:03 +02:00
parent b68de1f2e9
commit 78ca61c82e
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
<img src="~ChillMainAssets/img/draggable.svg" class="drag-icon" />
<person :person="conc.person"></person>
</div>
<div>
<div v-if="conc.person.birthdate !== null">
{{ $t('person.born', {'gender': conc.person.gender} ) }}
{{ $d(conc.person.birthdate.datetime, 'short') }}
</div>

View File

@ -8,7 +8,7 @@
{{ $t('household_members_editor.holder') }}
</span>
</div>
<div>{{ $t('person.born', {'gender': conc.person.gender} ) }}</div>
<div v-if="conc.person.birthdate !== null">{{ $t('person.born', {'gender': conc.person.gender} ) }}</div>
</div>
<div class="item-col box-where">
<ul class="list-content fa-ul">