@vgroup/dialbox 0.3.5 → 0.3.7

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.
@@ -2537,6 +2537,7 @@ class CallProgressComponent {
2537
2537
  this.isCallOnHold = true;
2538
2538
  this.heldCall.mute(true);
2539
2539
  this.heldCall['parameters']['caller_name'] = Object.assign({}, this.callData);
2540
+ this.call = null;
2540
2541
  // Close contacts panel and show ring animation
2541
2542
  this.showContactsPanel = false;
2542
2543
  this.showRingAnimation = true;
@@ -2545,6 +2546,7 @@ class CallProgressComponent {
2545
2546
  .filter(Boolean)
2546
2547
  .join(' ');
2547
2548
  this.callData = Object.assign(Object.assign({}, this.callData), { phone: phoneNumber, displayNum: phoneNumber, name: contactName || phoneNumber, img: (contact === null || contact === void 0 ? void 0 : contact.img) || 'assets/images/user.jpg' });
2549
+ console.log(this.callData, 'this.callData');
2548
2550
  this.call['callInfo'] = JSON.parse(JSON.stringify(this.callData));
2549
2551
  this.currentCallList.push(this.call);
2550
2552
  this.cdr.detectChanges();
@@ -2642,6 +2644,7 @@ class CallProgressComponent {
2642
2644
  return;
2643
2645
  console.log(this.call, 'this.call');
2644
2646
  console.log(this.heldCall, 'this.heldCall');
2647
+ console.log(this.currentCallList, 'this.currentCallList');
2645
2648
  yield this.onholdOrUnholdParticipant({
2646
2649
  participantId: (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.callInfo) === null || _b === void 0 ? void 0 : _b.participantId,
2647
2650
  conferenceId: this.conferenceId,
@@ -3027,7 +3030,6 @@ class DialboxComponent {
3027
3030
  this.subscriptions = new Subscription();
3028
3031
  this.shakeDedicatedBtn = false;
3029
3032
  this.isSmartDialCall = false;
3030
- this.currentCallList = [];
3031
3033
  this.isInitialized = false;
3032
3034
  this.isMinimised = false;
3033
3035
  // Initialize if dialpad is visible by default