@vgroup/dialbox 0.3.56 → 0.3.57
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.
|
@@ -2954,6 +2954,9 @@ class DialboxComponent {
|
|
|
2954
2954
|
if (!item.isLeft && this.incomingCallsList.findIndex((c) => c?.id === item?.id) == -1) {
|
|
2955
2955
|
this.incomingCallsList.push(item);
|
|
2956
2956
|
}
|
|
2957
|
+
else {
|
|
2958
|
+
this.incomingCallsList = this.incomingCallsList.filter((c) => c?.id !== item?.id);
|
|
2959
|
+
}
|
|
2957
2960
|
});
|
|
2958
2961
|
if (this.incomingCallsList.length > 0) {
|
|
2959
2962
|
this.isCallInProgress = true;
|