@vgroup/dialbox 0.6.3-0.35 → 0.6.3-0.36
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.
|
@@ -1959,10 +1959,10 @@ class CallProgressComponent {
|
|
|
1959
1959
|
return ((this.deviceNumberList.includes(participant?.from) && participant?.to === 'c2c_softphone_client') || (this.deviceNumberList.includes(participant?.to) && participant?.direction == 'incoming-call')) && !participant?.isLeft && !participant?.isHold;
|
|
1960
1960
|
});
|
|
1961
1961
|
});
|
|
1962
|
-
if (currentCall?.length ==
|
|
1962
|
+
if (currentCall?.length == 1 && currentCall[0]?.id) {
|
|
1963
1963
|
this.currentCall = currentCall[0] || this.currentCallList[0];
|
|
1964
1964
|
}
|
|
1965
|
-
else if (currentCall?.length >
|
|
1965
|
+
else if (currentCall?.length > 1 && currentCall[0]?.isConference) {
|
|
1966
1966
|
this.currentCall = currentCall[0] || this.currentCallList[0];
|
|
1967
1967
|
this.isConference = true;
|
|
1968
1968
|
}
|
|
@@ -2204,6 +2204,7 @@ class CallProgressComponent {
|
|
|
2204
2204
|
}
|
|
2205
2205
|
else if (response.status == 201) {
|
|
2206
2206
|
this.isNewAddedCall = false;
|
|
2207
|
+
this.isLoadershow.emit(false);
|
|
2207
2208
|
swal("Error", response.message.join("<br/>"), "error");
|
|
2208
2209
|
this.endCall();
|
|
2209
2210
|
}
|