Skip to content

Commit

Permalink
fix: do not show popup if call is not coming to you?
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Jan 20, 2025
1 parent 3f75d6a commit 5de2bb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/Telephony/ExotelCallUI.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
})
Expand Down

0 comments on commit 5de2bb0

Please sign in to comment.