@vgroup/dialbox 0.4.174 → 0.4.177
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.
|
@@ -3777,7 +3777,7 @@ class DialboxComponent {
|
|
|
3777
3777
|
}
|
|
3778
3778
|
ngOnChanges(changes) {
|
|
3779
3779
|
var _a, _b, _c, _d, _e, _f;
|
|
3780
|
-
if (changes['incomingCallnotification']) {
|
|
3780
|
+
if (changes['incomingCallnotification'].currentValue && this.incomingCallnotification) {
|
|
3781
3781
|
this.isIncomingCallnotification = true;
|
|
3782
3782
|
// let payload = {
|
|
3783
3783
|
// recordId: this.incomingCallnotification.data.data.participantId,
|
|
@@ -3787,6 +3787,7 @@ class DialboxComponent {
|
|
|
3787
3787
|
// deviceId: this.deviceId,
|
|
3788
3788
|
// conferenceId: this.incomingCallnotification.data.data.conferenceId || 'no'
|
|
3789
3789
|
// }
|
|
3790
|
+
console.log(',,,,,', this.incomingCallnotification);
|
|
3790
3791
|
if (this.incomingCallnotification.data.content == "IncomingCall") {
|
|
3791
3792
|
let incomingCall = {
|
|
3792
3793
|
conferenceId: 'no',
|
|
@@ -3804,7 +3805,7 @@ class DialboxComponent {
|
|
|
3804
3805
|
}
|
|
3805
3806
|
}
|
|
3806
3807
|
else if (this.incomingCallnotification.data.content == "Missed Call") {
|
|
3807
|
-
let index = this.notificationCallList.findIndex((call) => { var _a; return call.participantId === ((_a = this.incomingCallnotification.data.data) === null || _a === void 0 ? void 0 : _a.
|
|
3808
|
+
let index = this.notificationCallList.findIndex((call) => { var _a; return call.participantId === ((_a = this.incomingCallnotification.data.data) === null || _a === void 0 ? void 0 : _a.recordId); });
|
|
3808
3809
|
if (index > -1) {
|
|
3809
3810
|
this.notificationCallList.splice(index, 1);
|
|
3810
3811
|
}
|