@vgroup/dialbox 0.2.72 → 0.2.73

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.
@@ -2494,9 +2494,9 @@ class CallProgressComponent {
2494
2494
  this.callData = {
2495
2495
  ...this.callData,
2496
2496
  phone: fromNumber,
2497
- displayNum: fromNumber,
2498
- name: callerName,
2499
- img: callerImg
2497
+ displayNum: (displayNumber && displayNumber !== '-') ? displayNumber : fromNumber,
2498
+ name: (callerName && callerName !== '-') ? callerName : (this.callData?.name || fromNumber),
2499
+ img: callerImg || this.callData?.img || 'assets/images/user.jpg'
2500
2500
  };
2501
2501
  console.log('After swap - Active call:', this.call.parameters['From']);
2502
2502
  console.log('After swap - Held call:', this.heldCall.parameters['From']);