From 84b8dcef3a232610fa6aa736263d818fb76da452 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Wed, 27 Mar 2024 17:29:57 +0530 Subject: [PATCH] fix: get contact name to display on CallUI when making call --- frontend/src/components/CallUI.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/components/CallUI.vue b/frontend/src/components/CallUI.vue index ffdb58ca..a98e3c58 100644 --- a/frontend/src/components/CallUI.vue +++ b/frontend/src/components/CallUI.vue @@ -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} ...`