simpo-component-library 2.0.23 → 2.0.25

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.
@@ -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({
@@ -4772,7 +4772,6 @@ class CartComponent extends BaseSection {
4772
4772
  this.enteredCouponCode = "";
4773
4773
  this.couponList = [];
4774
4774
  this.cartInfo = {
4775
- cartId: localStorage.getItem("cartId"),
4776
4775
  orderedItems: null,
4777
4776
  businessId: localStorage.getItem("bId") ?? localStorage.getItem("businessId"),
4778
4777
  billdetails: {
@@ -5055,7 +5054,7 @@ class CartComponent extends BaseSection {
5055
5054
  this.cartInfo["cartId"] = localStorage.getItem("cartId");
5056
5055
  console.log("Response : ", response);
5057
5056
  if (response && response === 'success') {
5058
- this.getIndexDBData();
5057
+ this.updateUserCartV2();
5059
5058
  // this.proceedToCheckout();
5060
5059
  }
5061
5060
  });