@vgroup/dialbox 0.6.3-0.35 → 0.6.3-0.36

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.
@@ -1908,10 +1908,10 @@ class CallProgressComponent {
1908
1908
  return ((this.deviceNumberList.includes(participant === null || participant === void 0 ? void 0 : participant.from) && (participant === null || participant === void 0 ? void 0 : participant.to) === 'c2c_softphone_client') || (this.deviceNumberList.includes(participant === null || participant === void 0 ? void 0 : participant.to) && (participant === null || participant === void 0 ? void 0 : participant.direction) == 'incoming-call')) && !(participant === null || participant === void 0 ? void 0 : participant.isLeft) && !(participant === null || participant === void 0 ? void 0 : participant.isHold);
1909
1909
  });
1910
1910
  });
1911
- if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) == 2 && ((_l = currentCall[0]) === null || _l === void 0 ? void 0 : _l.id)) {
1911
+ if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) == 1 && ((_l = currentCall[0]) === null || _l === void 0 ? void 0 : _l.id)) {
1912
1912
  this.currentCall = currentCall[0] || this.currentCallList[0];
1913
1913
  }
1914
- else if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) > 2 && ((_m = currentCall[0]) === null || _m === void 0 ? void 0 : _m.isConference)) {
1914
+ else if ((currentCall === null || currentCall === void 0 ? void 0 : currentCall.length) > 1 && ((_m = currentCall[0]) === null || _m === void 0 ? void 0 : _m.isConference)) {
1915
1915
  this.currentCall = currentCall[0] || this.currentCallList[0];
1916
1916
  this.isConference = true;
1917
1917
  }
@@ -2156,6 +2156,7 @@ class CallProgressComponent {
2156
2156
  }
2157
2157
  else if (response.status == 201) {
2158
2158
  this.isNewAddedCall = false;
2159
+ this.isLoadershow.emit(false);
2159
2160
  swal("Error", response.message.join("<br/>"), "error");
2160
2161
  this.endCall();
2161
2162
  }