Skip to content
Snippets Groups Projects
Commit af032f5e authored by Julian's avatar Julian
Browse files

Display "–" if data points are missing

parent 1536adc2
No related branches found
No related tags found
2 merge requests!1123Resolve "Finalise Vuetify app as SPA",!1066Translations update from Weblate
......@@ -56,7 +56,7 @@
<v-list-item-content>
<v-list-item-title>
{{ data.person.sex }}
{{ data.person.sex || "" }}
</v-list-item-title>
</v-list-item-content>
</v-list-item>
......@@ -70,7 +70,7 @@
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>{{ data.person.street }} {{ data.person.housenumber }}</v-list-item-title>
<v-list-item-title>{{ data.person.street || "" }} {{ data.person.housenumber }}</v-list-item-title>
<v-list-item-subtitle>{{ data.person.postalCode }} {{ data.person.place }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
......@@ -86,8 +86,8 @@
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>{{ data.person.phoneNumber }}</v-list-item-title>
<v-list-item-subtitle>{{ $t("person.home")}}</v-list-item-subtitle>
<v-list-item-title>{{ data.person.phoneNumber || "" }}</v-list-item-title>
<v-list-item-subtitle>{{ $t("person.home") }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
......@@ -97,8 +97,8 @@
<v-list-item-action></v-list-item-action>
<v-list-item-content>
<v-list-item-title>{{ data.person.mobileNumber }}</v-list-item-title>
<v-list-item-subtitle>{{ $t("person.mobile")}}</v-list-item-subtitle>
<v-list-item-title>{{ data.person.mobileNumber || "" }}</v-list-item-title>
<v-list-item-subtitle>{{ $t("person.mobile") }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
<v-divider inset/>
......@@ -114,7 +114,7 @@
<v-list-item-content>
<v-list-item-title>
{{ data.person.email }}
{{ data.person.email || "" }}
</v-list-item-title>
</v-list-item-content>
</v-list-item>
......@@ -128,7 +128,7 @@
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>{{ $d(new Date(data.person.dateOfBirth), "short") }}</v-list-item-title>
<v-list-item-title>{{ !!data.person.dateOfBirth ? $d(new Date(data.person.dateOfBirth), "short") : "" }}</v-list-item-title>
<v-list-item-subtitle>{{ data.person.placeOfBirth }}</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment