@vgroup/dialbox 0.2.71 → 0.2.72

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.
@@ -2376,6 +2376,18 @@ class CallProgressComponent {
2376
2376
  // Close contacts panel and show ring animation
2377
2377
  this.showContactsPanel = false;
2378
2378
  this.showRingAnimation = true;
2379
+ // Update UI to reflect the new outbound leg being dialed
2380
+ const contactName = [contact?.firstName, contact?.middleName, contact?.lastName]
2381
+ .filter(Boolean)
2382
+ .join(' ');
2383
+ this.callData = {
2384
+ ...this.callData,
2385
+ phone: phoneNumber,
2386
+ displayNum: phoneNumber,
2387
+ name: contactName || phoneNumber,
2388
+ img: contact?.img || 'assets/images/user.jpg'
2389
+ };
2390
+ this.cdr.detectChanges();
2379
2391
  // Get the conference ID from the current call or use the stored one
2380
2392
  const conferenceId = this.conferenceId;
2381
2393
  if (!conferenceId) {