diff --git a/src/components/03_customer-management/HistoryEditComponent.vue b/src/components/03_customer-management/HistoryEditComponent.vue index 831fc08c..124a3210 100644 --- a/src/components/03_customer-management/HistoryEditComponent.vue +++ b/src/components/03_customer-management/HistoryEditComponent.vue @@ -396,8 +396,8 @@ watch( {{ $i18n.locale === 'en-US' ? `${props.row.updatedBy.firstNameEN} ${props.row.updatedBy.lastNameEN}` - : `${props.row.updatedBy.firstName} ${props.row.updatedBy.lastName}` ?? - '-' + : (`${props.row.updatedBy.firstName} ${props.row.updatedBy.lastName}` ?? + '-') }} diff --git a/src/components/03_customer-management/TableEmpoloyee.vue b/src/components/03_customer-management/TableEmpoloyee.vue index 7520346d..c9889551 100644 --- a/src/components/03_customer-management/TableEmpoloyee.vue +++ b/src/components/03_customer-management/TableEmpoloyee.vue @@ -340,7 +340,7 @@ const prop = withDefaults( { icon: 'mdi-clock-outline', value: props.row.dateOfBirth - ? calculateAge(props.row.dateOfBirth) ?? '' + ? (calculateAge(props.row.dateOfBirth) ?? '') : '', }, ],