mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
fix: Call popup avatar
Avoid getting session users image if customer doc has no image
This commit is contained in:
@@ -109,7 +109,7 @@ class CallPopup {
|
|||||||
});
|
});
|
||||||
wrapper.append(`
|
wrapper.append(`
|
||||||
<div class="caller-info flex">
|
<div class="caller-info flex">
|
||||||
${frappe.avatar(null, 'avatar-xl', contact.name, contact.image)}
|
${frappe.avatar(null, 'avatar-xl', contact.name, contact.image || '')}
|
||||||
<div>
|
<div>
|
||||||
<h5>${contact_name}</h5>
|
<h5>${contact_name}</h5>
|
||||||
<div>${contact.mobile_no || ''}</div>
|
<div>${contact.mobile_no || ''}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user