@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.
|
@@ -3558,7 +3558,7 @@ class DialboxComponent {
|
|
|
3558
3558
|
this.incomingCallsList = incomingCallData || [];
|
|
3559
3559
|
let parentCall = [];
|
|
3560
3560
|
if (this.notificationCallList.length) {
|
|
3561
|
-
this.notificationCallList.filter((res) => res.endTime >= (new Date().getTime()));
|
|
3561
|
+
this.notificationCallList = this.notificationCallList.filter((res) => res.endTime >= (new Date().getTime()));
|
|
3562
3562
|
this.notificationCallList.forEach((call) => {
|
|
3563
3563
|
incomingCallData.forEach((item) => {
|
|
3564
3564
|
let info = item.participants.find((resInfo) => (resInfo === null || resInfo === void 0 ? void 0 : resInfo.id) === (call === null || call === void 0 ? void 0 : call.participantId));
|
|
@@ -3993,7 +3993,7 @@ class DialboxComponent {
|
|
|
3993
3993
|
const now = new Date().getTime();
|
|
3994
3994
|
incomingCall['endTime'] = (new Date().getTime() + 45 * 1000);
|
|
3995
3995
|
this.notificationCallList.push(incomingCall);
|
|
3996
|
-
this.notificationCallList.filter((res) => (res === null || res === void 0 ? void 0 : res.endTime) >= now);
|
|
3996
|
+
this.notificationCallList = this.notificationCallList.filter((res) => (res === null || res === void 0 ? void 0 : res.endTime) >= now);
|
|
3997
3997
|
this.incomingCallsList = [...this.incomingCallsList, ...this.notificationCallList];
|
|
3998
3998
|
this.cdk.detectChanges();
|
|
3999
3999
|
if ((_j = this.incomingCallnotification.data.data) === null || _j === void 0 ? void 0 : _j.participantId) {
|