@vgroup/dialbox 0.4.44 → 0.4.45
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.
|
@@ -3130,7 +3130,7 @@ class CallProgressComponent {
|
|
|
3130
3130
|
recordID: data?.id,
|
|
3131
3131
|
ipAddress: '',
|
|
3132
3132
|
ipCountry: '',
|
|
3133
|
-
CallStatus:
|
|
3133
|
+
CallStatus: 'answered',
|
|
3134
3134
|
};
|
|
3135
3135
|
this.extensionService.setIncomingCallStatus(payload).subscribe((res) => {
|
|
3136
3136
|
console.log(res);
|
|
@@ -3150,6 +3150,15 @@ class CallProgressComponent {
|
|
|
3150
3150
|
if (text.length < 2) {
|
|
3151
3151
|
this.filteredList = this.contacts;
|
|
3152
3152
|
this.filteredParticipentList = this.allParticipentList;
|
|
3153
|
+
this.filteredList.forEach((c) => {
|
|
3154
|
+
let index = this.currentCallList.findIndex((cc) => cc?.phone == c?.numbersList[0]?.number || cc?.phone == c?.numbersList[1]?.number);
|
|
3155
|
+
if (index > -1) {
|
|
3156
|
+
c['IsConnected'] = true;
|
|
3157
|
+
}
|
|
3158
|
+
else {
|
|
3159
|
+
c['IsConnected'] = false;
|
|
3160
|
+
}
|
|
3161
|
+
});
|
|
3153
3162
|
return;
|
|
3154
3163
|
}
|
|
3155
3164
|
this.filteredList = this.contacts.filter((c) => {
|