fix: show gender

This commit is contained in:
puriphatt 2024-06-28 08:36:37 +00:00
parent 3458517de4
commit 4ab245834d
3 changed files with 4 additions and 2 deletions

View file

@ -57,6 +57,7 @@ export default {
uploadFile: 'Upload File',
newUpload: 'New Upload',
baseOnDevice: 'Base on Device',
person: 'Person',
...status,
...main,
...address,

View file

@ -57,6 +57,7 @@ export default {
uploadFile: 'อัปโหลดไฟล์',
newUpload: 'อัปโหลดใหม่',
baseOnDevice: 'สีตามอุปกรณ์',
person: 'คน',
...status,
...main,
...address,

View file

@ -1370,7 +1370,7 @@ watch([inputSearch, currentStatus], async () => {
size="18px"
/>
<div v-if="statsEmployeeGender">
{{ statsEmployeeGender.female }} คน
{{ statsEmployeeGender.female ?? 0 }} {{ $t('person') }}
</div>
</div>
</template>
@ -1389,7 +1389,7 @@ watch([inputSearch, currentStatus], async () => {
>
<q-icon name="mdi-gender-male" class="q-mr-sm" size="18px" />
<div v-if="statsEmployeeGender">
{{ statsEmployeeGender.male }} คน
{{ statsEmployeeGender.male ?? 0 }} {{ $t('person') }}
</div>
</div>
</template>