@vgroup/dialbox 0.3.85 → 0.3.86

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.
@@ -1856,7 +1856,7 @@ class CallProgressComponent {
1856
1856
  this.currentCallList.push(Object.assign(Object.assign({}, res), { img: 'assets/images/user.jpg', isIncomingCall: res.direction == "incoming-call", isHold: res.isHold, isMute: false, isConference: res.isConference, isAcceptCall: this.getStatus(res), dial: true, phone: res.direction == "incoming-call" ? res === null || res === void 0 ? void 0 : res.from : res === null || res === void 0 ? void 0 : res.to, participantId: res.id, name: res.name }));
1857
1857
  }
1858
1858
  }));
1859
- this.currentCall = this.currentCallList.find((item) => item.id == this.currentCall.id);
1859
+ this.currentCall = this.currentCallList.find((item) => item.isAcceptCall);
1860
1860
  this.cdr.detectChanges();
1861
1861
  }
1862
1862
  else if (!this.newIncomingCallsList.length) {