fix: rebase fail

This commit is contained in:
Methapon2001 2024-07-04 13:33:31 +07:00
parent 6cb6caf3d9
commit aa5adf5789

View file

@ -1334,21 +1334,15 @@ watch([inputSearch, currentStatus], async () => {
<div v-if="isMainPage" class="column full-height"> <div v-if="isMainPage" class="column full-height">
<div class="row full-width"> <div class="row full-width">
<!-- stat --> <!-- stat -->
<div class="col-12 col-sm bordered surface-1 rounded"> <div class="col-12 q-mb-md">
<div class="text-weight-bold text-subtitle1 q-pa-md"> <div class="scroll">
{{
selectorLabel === 'EMPLOYER'
? $t('customerEmployerStatTitle')
: $t('customerEmployeeStatTitle')
}}
</div>
<div class="q-px-md scroll">
<StatCardComponent <StatCardComponent
v-if="customerStats && selectorLabel === 'EMPLOYER'" v-if="customerStats"
labelI18n labelI18n
:branch=" :branch="
customerStats.map((v) => ({ customerStats &&
(selectorLabel === 'EMPLOYER'
? customerStats.map((v) => ({
count: count:
v.name === 'CORP' v.name === 'CORP'
? statsCustomerType?.CORP ?? 0 ? statsCustomerType?.CORP ?? 0
@ -1357,27 +1351,22 @@ watch([inputSearch, currentStatus], async () => {
v.name === 'CORP' v.name === 'CORP'
? 'customerLegalEntity' ? 'customerLegalEntity'
: 'customerNaturalPerson', : 'customerNaturalPerson',
icon:
v.name === 'CORP'
? 'mdi-office-building'
: 'mdi-account',
color: v.name === 'CORP' ? 'purple' : 'green', color: v.name === 'CORP' ? 'purple' : 'green',
})) }))
" : [
:dark="$q.dark.isActive"
nowrap
class="q-mb-md"
/>
<StatCardComponent
v-if="customerStats && selectorLabel === 'EMPLOYEE'"
labelI18n
:branch="[
{ {
label: 'EMPLOYEE', label: 'EMPLOYEE',
count: statsEmployee, count: statsEmployee,
icon: 'mdi-account',
color: 'pink', color: 'pink',
}, },
]" ])
"
:dark="$q.dark.isActive" :dark="$q.dark.isActive"
nowrap
class="q-mb-md"
/> />
</div> </div>
</div> </div>