feat: เพิ่ม no-profile

This commit is contained in:
Net 2024-06-11 15:15:24 +07:00
parent d98a250a76
commit 406180947f
3 changed files with 3 additions and 12 deletions

BIN
public/no-profile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -104,12 +104,7 @@ watch(currentPageBranch, async () => {
style="border-radius: 0 0 40px 40px; position: relative"
>
<q-avatar no-padding size="50px">
<img
:src="
currentCustomerUrlImage ??
'https://cdn.quasar.dev/img/avatar1.jpg'
"
/>
<img :src="currentCustomerUrlImage ?? '/no-profile.png'" />
</q-avatar>
</q-card-section>
<div>

View file

@ -145,9 +145,7 @@ defineEmits<{
<div class="row justify-center relative-position">
<q-card-section class="q-pt-xl img-decoration">
<q-avatar size="100px">
<img
:src="list.imageUrl ?? 'https://cdn.quasar.dev/img/avatar1.jpg'"
/>
<img :src="list.imageUrl ?? '/no-profile.png'" />
</q-avatar>
</q-card-section>
</div>
@ -291,9 +289,7 @@ defineEmits<{
</q-btn>
<q-card-section class="q-pt-xl img-decoration">
<q-avatar size="50px">
<img
:src="list.imageUrl ?? 'https://cdn.quasar.dev/img/avatar1.jpg'"
/>
<img :src="list.imageUrl ?? '/no-profile.png'" />
</q-avatar>
</q-card-section>