fix: Call popup avatar
Avoid getting session users image if customer doc has no image
This commit is contained in:
parent
62911ec198
commit
838697261d
@ -109,7 +109,7 @@ class CallPopup {
|
||||
});
|
||||
wrapper.append(`
|
||||
<div class="caller-info flex">
|
||||
${frappe.avatar(null, 'avatar-xl', contact.name, contact.image)}
|
||||
${frappe.avatar(null, 'avatar-xl', contact.name, contact.image || '')}
|
||||
<div>
|
||||
<h5>${contact_name}</h5>
|
||||
<div>${contact.mobile_no || ''}</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user