@vgroup/dialbox 0.6.99 → 0.7.0
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.
- package/esm2020/lib/components/call-progress/call-progress.component.mjs +13 -6
- package/fesm2015/vgroup-dialbox.mjs +12 -5
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +12 -5
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1879,6 +1879,7 @@ class CallProgressComponent {
|
|
|
1879
1879
|
this.allConParticipentList = {};
|
|
1880
1880
|
this.acceptedCallList = [];
|
|
1881
1881
|
this.isHoldBtnDisable = false;
|
|
1882
|
+
this.C2ConfoList = {};
|
|
1882
1883
|
this.isMinimised = false;
|
|
1883
1884
|
this.showDisconnectModal = false;
|
|
1884
1885
|
this.call = this.twilioService.call;
|
|
@@ -2132,11 +2133,17 @@ class CallProgressComponent {
|
|
|
2132
2133
|
if (selectedUser) {
|
|
2133
2134
|
selectedUser.IsUserInfoShow = true;
|
|
2134
2135
|
if (selectedUser.businessNumber == true && !selectedUser.userInfoId) {
|
|
2135
|
-
this.
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2136
|
+
if (!this.C2ConfoList[selectedUser.participantId]) {
|
|
2137
|
+
this.extensionService.getUserInformation(selectedUser.participantId).subscribe((resInfo) => {
|
|
2138
|
+
let index = this.currentCallList.findIndex((item) => item?.participantId == selectedUser?.id);
|
|
2139
|
+
this.currentCallList[index] = this.mapUserInfo(this.currentCallList[index], resInfo?.c2cInformation);
|
|
2140
|
+
this.selectedUserInfo = this.currentCallList[index];
|
|
2141
|
+
this.C2ConfoList[selectedUser.participantId] = this.currentCallList[index];
|
|
2142
|
+
});
|
|
2143
|
+
}
|
|
2144
|
+
else {
|
|
2145
|
+
this.selectedUserInfo = this.C2ConfoList[selectedUser.participantId];
|
|
2146
|
+
}
|
|
2140
2147
|
}
|
|
2141
2148
|
else {
|
|
2142
2149
|
this.selectedUserInfo = selectedUser;
|