1
0
forked from test/crm

fix: get contact name to display on CallUI when making call

This commit is contained in:
Shariq Ansari 2024-03-27 17:29:57 +05:30
parent 38f14c5158
commit 84b8dcef3a

View File

@ -387,6 +387,11 @@ async function makeOutgoingCall(number) {
// return
// }
contact.value = getContact(number)
if (!contact.value) {
contact.value = getLeadContact(number)
}
if (device) {
log.value = `Attempting to call ${number} ...`