@vgroup/dialbox 0.5.36 → 0.5.37

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.
@@ -3590,7 +3590,7 @@ class DialboxComponent {
3590
3590
  this.incomingCallsList = incomingCallData || [];
3591
3591
  let parentCall = [];
3592
3592
  if (this.notificationCallList.length) {
3593
- this.notificationCallList.filter((res) => res.endTime >= (new Date().getTime()));
3593
+ this.notificationCallList = this.notificationCallList.filter((res) => res.endTime >= (new Date().getTime()));
3594
3594
  this.notificationCallList.forEach((call) => {
3595
3595
  incomingCallData.forEach((item) => {
3596
3596
  let info = item.participants.find((resInfo) => resInfo?.id === call?.participantId);
@@ -4023,7 +4023,7 @@ class DialboxComponent {
4023
4023
  const now = new Date().getTime();
4024
4024
  incomingCall['endTime'] = (new Date().getTime() + 45 * 1000);
4025
4025
  this.notificationCallList.push(incomingCall);
4026
- this.notificationCallList.filter((res) => res?.endTime >= now);
4026
+ this.notificationCallList = this.notificationCallList.filter((res) => res?.endTime >= now);
4027
4027
  this.incomingCallsList = [...this.incomingCallsList, ...this.notificationCallList];
4028
4028
  this.cdk.detectChanges();
4029
4029
  if (this.incomingCallnotification.data.data?.participantId) {