fix: breadcrumbs i18n

This commit is contained in:
Methapon2001 2024-08-06 13:26:38 +07:00
parent 457217a257
commit 5cd2afbd69
4 changed files with 9 additions and 4 deletions

View file

@ -70,6 +70,7 @@ async function init() {
utilsStore.currentTitle.path = [
{
text: 'customerManagementCaption',
i18n: true,
handler: () => router.push('/customer-management'),
},
];
@ -547,8 +548,8 @@ function createEmployeeForm() {
? customerStats.map((v) => ({
count:
v.name === 'CORP'
? (statsCustomerType?.CORP ?? 0)
: (statsCustomerType?.PERS ?? 0),
? statsCustomerType?.CORP ?? 0
: statsCustomerType?.PERS ?? 0,
label:
v.name === 'CORP'
? 'customerLegalEntity'
@ -1536,7 +1537,7 @@ function createEmployeeForm() {
{
icon: 'mdi-clock-outline',
value: props.row.dateOfBirth
? (calculateAge(props.row.dateOfBirth) ?? '')
? calculateAge(props.row.dateOfBirth) ?? ''
: '',
},
],