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.
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +4 -4
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-2.0.24.tgz +0 -0
- package/simpo-component-library-2.0.23.tgz +0 -0
@@ -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.
|
5058
|
+
this.updateUserCartV2();
|
5059
5059
|
// this.proceedToCheckout();
|
5060
5060
|
}
|
5061
5061
|
});
|