@vgroup/dialbox 0.3.37 → 0.3.38

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.
@@ -2005,7 +2005,7 @@ class IncomingCallComponent {
2005
2005
  async add(data) {
2006
2006
  let device = await this.twilioService.connect('');
2007
2007
  console.log(device, 'callConnect');
2008
- if (data.status == 'ringing') {
2008
+ if (data?.status == 'ringing') {
2009
2009
  this.twilioService.addIncomingParticipant(data.id, this.twilioService.conferenceCallInfo.conferenceId).subscribe((data) => {
2010
2010
  console.log(data, 'bhhhhhhhhhhhhhhhhhhh');
2011
2011
  });