simpo-component-library 2.0.23 → 2.0.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -4024,7 +4024,7 @@ class AuthenticationRequiredComponent {
4024
4024
  this.buttonLoading = true;
4025
4025
  this.restService.signinPassword(payload).subscribe((response) => {
4026
4026
  const userDetails = this.storageService.setUser(response.data);
4027
- this.storageService.updateAllData();
4027
+ // this.storageService.updateAllData();
4028
4028
  this.buttonLoading = false;
4029
4029
  this.dialogRef.close('success');
4030
4030
  }, (error) => {
@@ -4039,7 +4039,7 @@ class AuthenticationRequiredComponent {
4039
4039
  this.buttonLoading = true;
4040
4040
  this.restService.verifyOTP(this.mobile ?? "", this.otp, deviceInfo).subscribe((response) => {
4041
4041
  const userDetails = this.storageService.setUser(response.data);
4042
- this.storageService.updateAllData();
4042
+ // this.storageService.updateAllData();
4043
4043
  this.dialogRef.close('success');
4044
4044
  }, (error) => {
4045
4045
  this.buttonLoading = false;
@@ -4086,7 +4086,7 @@ class AuthenticationRequiredComponent {
4086
4086
  };
4087
4087
  this.restService.verifySignupOTP(verifySignData).subscribe((response) => {
4088
4088
  const userDetails = this.storageService.setUser(response.data);
4089
- this.storageService.updateAllData();
4089
+ // this.storageService.updateAllData();
4090
4090
  this.dialogRef.close('success');
4091
4091
  this.buttonLoading = false;
4092
4092
  Swal.fire({
@@ -5055,7 +5055,7 @@ class CartComponent extends BaseSection {
5055
5055
  this.cartInfo["cartId"] = localStorage.getItem("cartId");
5056
5056
  console.log("Response : ", response);
5057
5057
  if (response && response === 'success') {
5058
- this.getIndexDBData();
5058
+ this.updateUserCartV2();
5059
5059
  // this.proceedToCheckout();
5060
5060
  }
5061
5061
  });