@vgroup/dialbox 0.5.7 → 0.5.9
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 +3 -2
- package/esm2020/lib/dialbox.component.mjs +2 -1
- package/fesm2015/vgroup-dialbox.mjs +3 -1
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +3 -1
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1884,7 +1884,7 @@ class CallProgressComponent {
|
|
|
1884
1884
|
}
|
|
1885
1885
|
}));
|
|
1886
1886
|
let currentCall = this.currentCallList.find((item) => item.isAcceptCall && !item.isHold);
|
|
1887
|
-
if (
|
|
1887
|
+
if (currentCall === null || currentCall === void 0 ? void 0 : currentCall.id) {
|
|
1888
1888
|
this.currentCall = currentCall || this.currentCallList[0];
|
|
1889
1889
|
}
|
|
1890
1890
|
if ((_a = this.selectedUserInfo) === null || _a === void 0 ? void 0 : _a.participantId) {
|
|
@@ -2139,6 +2139,7 @@ class CallProgressComponent {
|
|
|
2139
2139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2140
2140
|
let index = this.currentCallList.findIndex((res) => res.participantId == this.currentCall.participantId);
|
|
2141
2141
|
this.currentCallList.splice(index, 1);
|
|
2142
|
+
this.incomeingCallSocketService.pause();
|
|
2142
2143
|
});
|
|
2143
2144
|
}
|
|
2144
2145
|
onEndCall(c, isAllCallEnd) {
|
|
@@ -3824,6 +3825,7 @@ class DialboxComponent {
|
|
|
3824
3825
|
let incomingCallIndex = this.incomingCallsList.findIndex((call) => { var _a; return call.participantId === ((_a = this.incomingCallnotification.data.data) === null || _a === void 0 ? void 0 : _a.recordId); });
|
|
3825
3826
|
if (incomingCallIndex > -1) {
|
|
3826
3827
|
this.incomingCallsList.splice(incomingCallIndex, 1);
|
|
3828
|
+
this.incomeingCallSocketService.pause();
|
|
3827
3829
|
}
|
|
3828
3830
|
console.log('test', this.incomingCallsList);
|
|
3829
3831
|
this.isIncomingCallnotification = false;
|