@vgroup/dialbox 0.6.2-2.3 → 0.6.2-2.4

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.
@@ -2557,7 +2557,7 @@ class CallProgressComponent {
2557
2557
  async callContact(contact, isUnsavedNumber) {
2558
2558
  console.log('Adding participant:', contact);
2559
2559
  console.log('this.call', this.call);
2560
- const phoneNumber = isUnsavedNumber ? contact?.numbersList?.[0]?.number || contact?.phone : contact;
2560
+ const phoneNumber = isUnsavedNumber ? contact : contact?.numbersList?.[0]?.number || contact?.phone;
2561
2561
  const currentCall = this.currentCallList.find((c) => c?.phone === phoneNumber);
2562
2562
  if (!phoneNumber || currentCall) {
2563
2563
  console.error('No phone number found for contact');