@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.
|
@@ -3041,10 +3041,10 @@ class DialboxComponent {
|
|
|
3041
3041
|
}
|
|
3042
3042
|
incomingCallData.on('cancel', () => {
|
|
3043
3043
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== incomingCallData.parameters['CallSid']);
|
|
3044
|
-
if
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
}
|
|
3044
|
+
// if(this.incomingCallsList.length == 0){
|
|
3045
|
+
// console.log('dd3')
|
|
3046
|
+
// this.isCallInProgress = false;
|
|
3047
|
+
// }
|
|
3048
3048
|
});
|
|
3049
3049
|
incomingCallData.on('disconnect', () => {
|
|
3050
3050
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== incomingCallData.parameters['CallSid']);
|
|
@@ -3112,19 +3112,19 @@ class DialboxComponent {
|
|
|
3112
3112
|
}
|
|
3113
3113
|
this.incomingCallData.on('cancel', () => {
|
|
3114
3114
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== this.incomingCallData.parameters['CallSid']);
|
|
3115
|
-
if
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
}
|
|
3115
|
+
// if(this.incomingCallsList.length == 0){
|
|
3116
|
+
// console.log('dd6')
|
|
3117
|
+
// this.isCallInProgress = false;
|
|
3118
|
+
// }
|
|
3119
3119
|
this.incomingCallData.disconnect();
|
|
3120
3120
|
});
|
|
3121
3121
|
this.incomingCallData.on('disconnect', () => {
|
|
3122
3122
|
this.incomingCallsList = this.incomingCallsList.filter((item) => item.parameters['CallSid'] !== this.incomingCallData.parameters['CallSid']);
|
|
3123
3123
|
this.incomingCallData.disconnect();
|
|
3124
|
-
if
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
}
|
|
3124
|
+
// if(this.incomingCallsList.length == 0){
|
|
3125
|
+
// console.log('dd7')
|
|
3126
|
+
// this.isCallInProgress = false;
|
|
3127
|
+
// }
|
|
3128
3128
|
});
|
|
3129
3129
|
}
|
|
3130
3130
|
}
|
|
@@ -3360,7 +3360,7 @@ class DialboxComponent {
|
|
|
3360
3360
|
try {
|
|
3361
3361
|
console.log('Ending call');
|
|
3362
3362
|
console.log('dd8');
|
|
3363
|
-
this.isCallInProgress = false;
|
|
3363
|
+
// this.isCallInProgress = false;
|
|
3364
3364
|
this.filteredContactList = [];
|
|
3365
3365
|
// Reset call data
|
|
3366
3366
|
this.callData = {
|