@vgroup/dialbox 0.2.22 → 0.2.23
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.
|
@@ -3058,10 +3058,10 @@ class DialboxComponent {
|
|
|
3058
3058
|
}
|
|
3059
3059
|
incomingCallData.on('cancel', () => {
|
|
3060
3060
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== incomingCallData.parameters['CallSid']);
|
|
3061
|
-
if
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
}
|
|
3061
|
+
// if(this.incomingCallsList.length == 0){
|
|
3062
|
+
// console.log('dd3')
|
|
3063
|
+
// this.isCallInProgress = false;
|
|
3064
|
+
// }
|
|
3065
3065
|
});
|
|
3066
3066
|
incomingCallData.on('disconnect', () => {
|
|
3067
3067
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== incomingCallData.parameters['CallSid']);
|
|
@@ -3129,19 +3129,19 @@ class DialboxComponent {
|
|
|
3129
3129
|
}
|
|
3130
3130
|
this.incomingCallData.on('cancel', () => {
|
|
3131
3131
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== this.incomingCallData.parameters['CallSid']);
|
|
3132
|
-
if
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
}
|
|
3132
|
+
// if(this.incomingCallsList.length == 0){
|
|
3133
|
+
// console.log('dd6')
|
|
3134
|
+
// this.isCallInProgress = false;
|
|
3135
|
+
// }
|
|
3136
3136
|
this.incomingCallData.disconnect();
|
|
3137
3137
|
});
|
|
3138
3138
|
this.incomingCallData.on('disconnect', () => {
|
|
3139
3139
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== this.incomingCallData.parameters['CallSid']);
|
|
3140
3140
|
this.incomingCallData.disconnect();
|
|
3141
|
-
if
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
}
|
|
3141
|
+
// if(this.incomingCallsList.length == 0){
|
|
3142
|
+
// console.log('dd7')
|
|
3143
|
+
// this.isCallInProgress = false;
|
|
3144
|
+
// }
|
|
3145
3145
|
});
|
|
3146
3146
|
}
|
|
3147
3147
|
}
|
|
@@ -3377,7 +3377,7 @@ class DialboxComponent {
|
|
|
3377
3377
|
try {
|
|
3378
3378
|
console.log('Ending call');
|
|
3379
3379
|
console.log('dd8');
|
|
3380
|
-
this.isCallInProgress = false;
|
|
3380
|
+
// this.isCallInProgress = false;
|
|
3381
3381
|
this.filteredContactList = [];
|
|
3382
3382
|
// Reset call data
|
|
3383
3383
|
this.callData = {
|