@vgroup/dialbox 0.5.6 → 0.5.8

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.
@@ -1884,7 +1884,7 @@ class CallProgressComponent {
1884
1884
  }
1885
1885
  }));
1886
1886
  let currentCall = this.currentCallList.find((item) => item.isAcceptCall && !item.isHold);
1887
- if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.id) || this.currentCallList.length == 1) {
1887
+ if (currentCall === null || currentCall === void 0 ? void 0 : currentCall.id) {
1888
1888
  this.currentCall = currentCall || this.currentCallList[0];
1889
1889
  }
1890
1890
  if ((_a = this.selectedUserInfo) === null || _a === void 0 ? void 0 : _a.participantId) {
@@ -2845,7 +2845,7 @@ class CallProgressComponent {
2845
2845
  isMergeCallAllowed() {
2846
2846
  let mergeCallList = this.currentCallList.filter((res) => res.conferenceId == this.currentCall.conferenceId);
2847
2847
  console.log('mergeCallList', mergeCallList);
2848
- return mergeCallList.length > 1;
2848
+ return mergeCallList.length <= 1;
2849
2849
  }
2850
2850
  mergeCalls() {
2851
2851
  return __awaiter(this, void 0, void 0, function* () {