From 5de2bb061c18abedb2844ae1f47031b5556c3763 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 20 Jan 2025 17:01:14 +0530 Subject: [PATCH] fix: do not show popup if call is not coming to you? --- frontend/src/components/Telephony/ExotelCallUI.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/Telephony/ExotelCallUI.vue b/frontend/src/components/Telephony/ExotelCallUI.vue index 5772c0d2..3ab3db2e 100644 --- a/frontend/src/components/Telephony/ExotelCallUI.vue +++ b/frontend/src/components/Telephony/ExotelCallUI.vue @@ -430,8 +430,10 @@ function setup() { if ( !showCallPopup.value && !showSmallCallPopup.value && + data.AgentEmail && data.AgentEmail == user.value ) { + phoneNumber.value = data.CallTo || data.To showCallPopup.value = true } })