@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.
|
@@ -2513,7 +2513,7 @@ class CallProgressComponent {
|
|
|
2513
2513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2514
2514
|
console.log('Adding participant:', contact);
|
|
2515
2515
|
console.log('this.call', this.call);
|
|
2516
|
-
const phoneNumber = isUnsavedNumber ? ((_b = (_a = contact === null || contact === void 0 ? void 0 : contact.numbersList) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.number) || (contact === null || contact === void 0 ? void 0 : contact.phone)
|
|
2516
|
+
const phoneNumber = isUnsavedNumber ? contact : ((_b = (_a = contact === null || contact === void 0 ? void 0 : contact.numbersList) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.number) || (contact === null || contact === void 0 ? void 0 : contact.phone);
|
|
2517
2517
|
const currentCall = this.currentCallList.find((c) => (c === null || c === void 0 ? void 0 : c.phone) === phoneNumber);
|
|
2518
2518
|
if (!phoneNumber || currentCall) {
|
|
2519
2519
|
console.error('No phone number found for contact');
|