fix: wrong cond

This commit is contained in:
Methapon2001 2024-06-28 14:13:48 +07:00
parent 65cc35bc33
commit 1f09edbb59

View file

@ -1443,10 +1443,11 @@ watch([inputSearch, currentStatus], async () => {
</q-menu> </q-menu>
</q-btn> </q-btn>
</div> </div>
<template <template
v-if=" v-if="
listCustomer && totalCustomer > 0 && selectorLabel === 'EMPLOYER' listCustomer &&
statsCustomerType.PERS + statsCustomerType.CORP > 0 &&
selectorLabel === 'EMPLOYER'
" "
> >
<div <div
@ -1616,7 +1617,7 @@ watch([inputSearch, currentStatus], async () => {
<template <template
v-if=" v-if="
(statsCustomerType.CORP + statsCustomerType.PERS && (statsCustomerType.CORP + statsCustomerType.PERS === 0 &&
selectorLabel === 'EMPLOYER') || selectorLabel === 'EMPLOYER') ||
(statsEmployee === 0 && selectorLabel === 'EMPLOYEE') (statsEmployee === 0 && selectorLabel === 'EMPLOYEE')
" "