@vgroup/dialbox 0.7.52 → 0.7.54

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.
@@ -4087,7 +4087,7 @@ class CallProgressComponent {
4087
4087
  let contactInfo = this.contacts.find((c) => {
4088
4088
  return c?.numbersList[0]?.number == number || c?.numbersList[1]?.number == number;
4089
4089
  });
4090
- return contactInfo?.firstName || contactInfo?.lastName ? `${contactInfo?.firstName || ''} ${contactInfo?.lastName || ''}` : null;
4090
+ return contactInfo?.firstName || contactInfo?.middleName || contactInfo?.lastName ? `${contactInfo?.firstName || ''} ${contactInfo?.middleName || ''} ${contactInfo?.lastName || ''}` : null;
4091
4091
  }
4092
4092
  getImg(number) {
4093
4093
  let contactInfo = this.contacts.find((c) => {
@@ -4760,9 +4760,13 @@ class DialboxComponent {
4760
4760
  this.incomingCallNotification({}, snapshot);
4761
4761
  }
4762
4762
  }
4763
+ this.incomingFromImage = '';
4763
4764
  if (snapshot.data.data?.fromImage) {
4765
+ console.log('Incoming Notification:', snapshot.data.data);
4766
+ console.log('fromImage:', snapshot.data.data?.fromImage);
4764
4767
  this.incomingFromImage = snapshot.data.data?.fromImage;
4765
4768
  }
4769
+ console.log('after assign incomingFromImage:', this.incomingFromImage);
4766
4770
  }
4767
4771
  else if (snapshot?.data?.content == "Missed Call" || snapshot?.data?.data?.status == "rejected" || snapshot?.data?.data?.status == "accepted") {
4768
4772
  let index = this.notificationCallList.findIndex((call) => call?.participantId === snapshot?.data?.data?.recordId || call?.participantId === snapshot?.data?.data?.participantId);