fixing display profile

This commit is contained in:
Warunee Tamkoo 2024-08-05 21:50:15 +07:00
parent acbd63a053
commit 58a1cc9bb8

View file

@ -476,7 +476,7 @@ onMounted(() => {
<div class="col-2 text-grey-6 text-weight-medium">-นามสก</div> <div class="col-2 text-grey-6 text-weight-medium">-นามสก</div>
<div class="col-6"> <div class="col-6">
{{ {{
fatherData.prefix fatherData.prefix && fatherData.firstName && fatherData.lastName
? fatherData.prefix + ? fatherData.prefix +
fatherData.firstName + fatherData.firstName +
" " + " " +
@ -550,7 +550,7 @@ onMounted(() => {
<div class="col-2 text-grey-6 text-weight-medium">-นามสก</div> <div class="col-2 text-grey-6 text-weight-medium">-นามสก</div>
<div class="col-6"> <div class="col-6">
{{ {{
motherData.prefix motherData.prefix && motherData.firstName && motherData.lastName
? motherData.prefix + ? motherData.prefix +
motherData.firstName + motherData.firstName +
" " + " " +
@ -644,7 +644,7 @@ onMounted(() => {
<div class="col-2 text-grey-6 text-weight-medium">-นามสก</div> <div class="col-2 text-grey-6 text-weight-medium">-นามสก</div>
<div class="col-6"> <div class="col-6">
{{ {{
coupleData.prefix coupleData.prefix && coupleData.firstName && coupleData.lastName
? coupleData.prefix + ? coupleData.prefix +
coupleData.firstName + coupleData.firstName +
" " + " " +
@ -748,7 +748,9 @@ onMounted(() => {
</div> </div>
<div class="col-6"> <div class="col-6">
{{ {{
item.childrenPrefix item.childrenPrefix &&
item.childrenFirstName &&
item.childrenLastName
? item.childrenPrefix + ? item.childrenPrefix +
item.childrenFirstName + item.childrenFirstName +
" " + " " +