@vgroup/dialbox 0.3.93 → 0.3.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1891,10 +1891,10 @@ class CallProgressComponent {
|
|
|
1891
1891
|
}
|
|
1892
1892
|
getStatus(res) {
|
|
1893
1893
|
const statusList = ["answered", "participant-hold", "participant-mute", "participant-join", "queued", "in-progress", "initiated", 'ringing'];
|
|
1894
|
-
if (statusList.includes(res.status) &&
|
|
1894
|
+
if (statusList.includes(res.status) && res.direction != "incoming-call") {
|
|
1895
1895
|
return true;
|
|
1896
1896
|
}
|
|
1897
|
-
else if (res.
|
|
1897
|
+
else if (res.direction == "incoming-call") {
|
|
1898
1898
|
return this.isCurrentIncomingCallList.includes(res.participantId);
|
|
1899
1899
|
}
|
|
1900
1900
|
else {
|