@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.
@@ -2503,6 +2503,7 @@ class CallProgressComponent {
2503
2503
  this.isCallOnHold = true;
2504
2504
  this.heldCall.mute(true);
2505
2505
  this.heldCall['parameters']['caller_name'] = { ...this.callData };
2506
+ this.call = null;
2506
2507
  // Close contacts panel and show ring animation
2507
2508
  this.showContactsPanel = false;
2508
2509
  this.showRingAnimation = true;
@@ -2517,6 +2518,7 @@ class CallProgressComponent {
2517
2518
  name: contactName || phoneNumber,
2518
2519
  img: contact?.img || 'assets/images/user.jpg'
2519
2520
  };
2521
+ console.log(this.callData, 'this.callData');
2520
2522
  this.call['callInfo'] = JSON.parse(JSON.stringify(this.callData));
2521
2523
  this.currentCallList.push(this.call);
2522
2524
  this.cdr.detectChanges();
@@ -2610,6 +2612,7 @@ class CallProgressComponent {
2610
2612
  return;
2611
2613
  console.log(this.call, 'this.call');
2612
2614
  console.log(this.heldCall, 'this.heldCall');
2615
+ console.log(this.currentCallList, 'this.currentCallList');
2613
2616
  await this.onholdOrUnholdParticipant({
2614
2617
  participantId: this.call?.callInfo?.participantId,
2615
2618
  conferenceId: this.conferenceId,
@@ -2994,7 +2997,6 @@ class DialboxComponent {
2994
2997
  this.subscriptions = new Subscription();
2995
2998
  this.shakeDedicatedBtn = false;
2996
2999
  this.isSmartDialCall = false;
2997
- this.currentCallList = [];
2998
3000
  this.isInitialized = false;
2999
3001
  this.isMinimised = false;
3000
3002
  // Initialize if dialpad is visible by default