fix: do not show popup if call is not coming to you?

This commit is contained in:
Shariq Ansari 2025-01-20 17:01:14 +05:30
parent 3f75d6a51f
commit 5de2bb061c

View File

@ -430,8 +430,10 @@ function setup() {
if ( if (
!showCallPopup.value && !showCallPopup.value &&
!showSmallCallPopup.value && !showSmallCallPopup.value &&
data.AgentEmail &&
data.AgentEmail == user.value data.AgentEmail == user.value
) { ) {
phoneNumber.value = data.CallTo || data.To
showCallPopup.value = true showCallPopup.value = true
} }
}) })