simpo-component-library 1.8.94 → 1.8.96

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,6 +70,7 @@ export class AuthenticationRequiredComponent {
70
70
  this.buttonLoading = true;
71
71
  this.restService.signinPassword(payload).subscribe((response) => {
72
72
  const userDetails = this.storageService.setUser(response.data);
73
+ this.storageService.updateAllData();
73
74
  this.buttonLoading = false;
74
75
  this.dialogRef.close();
75
76
  }, (error) => {
@@ -84,6 +85,7 @@ export class AuthenticationRequiredComponent {
84
85
  this.buttonLoading = true;
85
86
  this.restService.verifyOTP(this.mobile ?? "", this.otp, deviceInfo).subscribe((response) => {
86
87
  const userDetails = this.storageService.setUser(response.data);
88
+ this.storageService.updateAllData();
87
89
  this.dialogRef.close();
88
90
  }, (error) => {
89
91
  this.buttonLoading = false;
@@ -265,4 +267,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
265
267
  }] }, { type: i6.MatBottomSheetRef, decorators: [{
266
268
  type: Optional
267
269
  }] }] });
268
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYXV0aGVudGljYXRpb24tcmVxdWlyZWQvYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvYXV0aGVudGljYXRpb24tcmVxdWlyZWQvYXV0aGVudGljYXRpb24tcmVxdWlyZWQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxF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