@vgroup/dialbox 0.4.191 → 0.4.192
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.
|
@@ -2143,7 +2143,8 @@ class CallProgressComponent {
|
|
|
2143
2143
|
onEndCall(c, isAllCallEnd) {
|
|
2144
2144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2145
2145
|
if (!c.isAcceptCall) {
|
|
2146
|
-
|
|
2146
|
+
let index = this.currentCallList.findIndex((res) => res.participantId == this.currentCall.participantId);
|
|
2147
|
+
this.currentCallList.splice(index, 1);
|
|
2147
2148
|
return;
|
|
2148
2149
|
}
|
|
2149
2150
|
let participantId = isAllCallEnd ? 'all' : c.participantId || c.participantId;
|