fix(03): namePrefix & fallback customer img

This commit is contained in:
puriphatt 2024-08-27 17:53:51 +07:00
parent b6890330fb
commit eb7d853788
2 changed files with 8 additions and 4 deletions

View file

@ -123,7 +123,6 @@ async function init() {
router.push('/customer-management');
}
}
flowStore.rotate();
}
onMounted(init);
@ -845,6 +844,7 @@ const emptyCreateDialog = ref(false);
>
<q-tab
name="employer"
class="text-capitalize"
id="tab-employer"
@click="
() => {
@ -867,6 +867,7 @@ const emptyCreateDialog = ref(false);
<q-tab
name="employee"
id="tab-employee"
class="text-capitalize"
@click="
() => {
currentPageEmployee = 1;
@ -1627,6 +1628,7 @@ const emptyCreateDialog = ref(false);
customerFormState.customerImageUrl ||
`/images/customer-${customerFormData.customerType}-avartar.png`
"
:fallbackImg="`/images/customer-${customerFormData.customerType}-avartar.png`"
color="hsla(var(--pink-6-hsl)/1)"
bg-color="hsla(var(--pink-6-hsl)/0.15)"
@view="customerFormState.imageDialog = true"