fix: show dial whom number for incoming call and to number for outgoing call
This commit is contained in:
parent
e8ca2987d0
commit
74d516192c
@ -434,10 +434,9 @@ function setup() {
|
|||||||
if (
|
if (
|
||||||
!showCallPopup.value &&
|
!showCallPopup.value &&
|
||||||
!showSmallCallPopup.value &&
|
!showSmallCallPopup.value &&
|
||||||
data.AgentEmail &&
|
(!data.AgentEmail || data.AgentEmail == (user || user.value))
|
||||||
data.AgentEmail == (user || user.value)
|
|
||||||
) {
|
) {
|
||||||
phoneNumber.value = data.CallTo || data.To
|
phoneNumber.value = data.DialWhomNumber || data.To
|
||||||
showCallPopup.value = true
|
showCallPopup.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user