@vgroup/dialbox 0.4.192 → 0.4.193

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