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