@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.
@@ -2961,6 +2961,9 @@ class DialboxComponent {
2961
2961
  if (!item.isLeft && this.incomingCallsList.findIndex((c) => (c === null || c === void 0 ? void 0 : c.id) === (item === null || item === void 0 ? void 0 : item.id)) == -1) {
2962
2962
  this.incomingCallsList.push(item);
2963
2963
  }
2964
+ else {
2965
+ this.incomingCallsList = this.incomingCallsList.filter((c) => (c === null || c === void 0 ? void 0 : c.id) !== (item === null || item === void 0 ? void 0 : item.id));
2966
+ }
2964
2967
  });
2965
2968
  if (this.incomingCallsList.length > 0) {
2966
2969
  this.isCallInProgress = true;