@vgroup/dialbox 0.6.2 → 0.6.4

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.
@@ -3345,6 +3345,10 @@ class DialboxComponent {
3345
3345
  await this.getRemoveParticipants('all', this.incomingCallsList[0].conferenceId);
3346
3346
  window.location.reload();
3347
3347
  }
3348
+ else {
3349
+ event.preventDefault();
3350
+ event.returnValue = false;
3351
+ }
3348
3352
  }, 0);
3349
3353
  }
3350
3354
  }
@@ -4328,12 +4332,14 @@ class DialboxComponent {
4328
4332
  await this.askForMicrophonePermission();
4329
4333
  return false;
4330
4334
  }
4335
+ this.isLoadershow = true;
4331
4336
  if (!this.selectedCallerId) {
4332
4337
  this.shakeDedicatedBtn = true;
4333
4338
  this.showDialAlert('Select a C2C number to call');
4334
4339
  setTimeout(() => {
4335
4340
  this.shakeDedicatedBtn = false;
4336
4341
  }, 3000);
4342
+ this.isLoadershow = false;
4337
4343
  return false;
4338
4344
  }
4339
4345
  // Clear displayNum if value is bound from previous call
@@ -4355,8 +4361,6 @@ class DialboxComponent {
4355
4361
  };
4356
4362
  console.log('dd10');
4357
4363
  this.isCallInProgress = true;
4358
- this.isLoadershow = true;
4359
- this.cdk.detectChanges();
4360
4364
  this.callInitiated.emit({ ...this.callData });
4361
4365
  return true;
4362
4366
  }