refactor: handle img gender

This commit is contained in:
Thanaphon Frappet 2025-01-24 14:28:36 +07:00
parent 4b6587c806
commit 1638ac35bb
3 changed files with 12 additions and 4 deletions

View file

@ -481,7 +481,9 @@ function disableCheckAll() {
>
<template #error>
<span class="full-width full-height">
<q-img src="/images/employee-avatar.png" />
<q-img
:src="`/images/employee-avatar-${props.row.request.employee.gender}.png`"
/>
</span>
</template>
</q-img>