chore: format

This commit is contained in:
Methapon Metanipat 2024-08-22 13:57:54 +07:00
parent 444371fc74
commit ffb56a2ce3
2 changed files with 3 additions and 3 deletions

View file

@ -396,8 +396,8 @@ watch(
{{ {{
$i18n.locale === 'en-US' $i18n.locale === 'en-US'
? `${props.row.updatedBy.firstNameEN} ${props.row.updatedBy.lastNameEN}` ? `${props.row.updatedBy.firstNameEN} ${props.row.updatedBy.lastNameEN}`
: `${props.row.updatedBy.firstName} ${props.row.updatedBy.lastName}` ?? : (`${props.row.updatedBy.firstName} ${props.row.updatedBy.lastName}` ??
'-' '-')
}} }}
</span> </span>
<!-- <span class="text-caption">กบรหาร</span> --> <!-- <span class="text-caption">กบรหาร</span> -->

View file

@ -340,7 +340,7 @@ const prop = withDefaults(
{ {
icon: 'mdi-clock-outline', icon: 'mdi-clock-outline',
value: props.row.dateOfBirth value: props.row.dateOfBirth
? calculateAge(props.row.dateOfBirth) ?? '' ? (calculateAge(props.row.dateOfBirth) ?? '')
: '', : '',
}, },
], ],