@vgroup/dialbox 0.3.57 → 0.3.59
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.
|
@@ -2957,15 +2957,9 @@ class DialboxComponent {
|
|
|
2957
2957
|
// console.log("WS Event Received:", incomingCallData.data);
|
|
2958
2958
|
this.twilioService.conferenceCallInfo = incomingCallData;
|
|
2959
2959
|
if (!!incomingCallData.participants) {
|
|
2960
|
-
incomingCallData.participants.
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
}
|
|
2964
|
-
else {
|
|
2965
|
-
this.incomingCallsList = this.incomingCallsList.filter((c) => (c === null || c === void 0 ? void 0 : c.id) !== (item === null || item === void 0 ? void 0 : item.id));
|
|
2966
|
-
}
|
|
2967
|
-
});
|
|
2968
|
-
if (this.incomingCallsList.length > 0) {
|
|
2960
|
+
this.incomingCallsList = incomingCallData.participants.filter((item) => !item.isLeft) || [];
|
|
2961
|
+
console.log('this.incomingCallsList web', this.incomingCallsList);
|
|
2962
|
+
if (this.incomingCallsList.length) {
|
|
2969
2963
|
this.isCallInProgress = true;
|
|
2970
2964
|
this.isDialpadHidden = false;
|
|
2971
2965
|
}
|