@vgroup/dialbox 0.4.196 → 0.4.198
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.
|
@@ -3821,7 +3821,7 @@ class DialboxComponent {
|
|
|
3821
3821
|
ngAfterViewInit() {
|
|
3822
3822
|
this.registerDragElement();
|
|
3823
3823
|
}
|
|
3824
|
-
ngOnChanges(changes) {
|
|
3824
|
+
async ngOnChanges(changes) {
|
|
3825
3825
|
if (changes['incomingCallnotification'].currentValue && this.incomingCallnotification) {
|
|
3826
3826
|
this.isIncomingCallnotification = true;
|
|
3827
3827
|
// let payload = {
|
|
@@ -3836,9 +3836,9 @@ class DialboxComponent {
|
|
|
3836
3836
|
if (this.incomingCallnotification.data.content == "IncomingCall") {
|
|
3837
3837
|
let callerInfo;
|
|
3838
3838
|
if (this.incomingCallnotification.data.data?.c2cBusiness == 'false') {
|
|
3839
|
-
this.extensionService.getUserInformation(this.incomingCallnotification.data.data?.participantId).subscribe((resInfo) => {
|
|
3839
|
+
await this.extensionService.getUserInformation(this.incomingCallnotification.data.data?.participantId).subscribe((resInfo) => {
|
|
3840
3840
|
console.log('uesrInfo', resInfo);
|
|
3841
|
-
callerInfo = resInfo;
|
|
3841
|
+
callerInfo = resInfo.c2cInformation;
|
|
3842
3842
|
});
|
|
3843
3843
|
}
|
|
3844
3844
|
let incomingCall = {
|