iptdevs-design-system 2.7.109 → 2.7.111

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.
@@ -3510,7 +3510,7 @@ class CodFormStepFourComponent extends CodFormSteps {
3510
3510
  this.controls = new CodFormControls().controls[3];
3511
3511
  }
3512
3512
  ngOnInit() {
3513
- this.cleanComponent();
3513
+ // this.cleanComponent();
3514
3514
  this.initForm();
3515
3515
  this.startLocalStorageWork();
3516
3516
  this.validateErrors();
@@ -3713,7 +3713,6 @@ class CodFormStepFourComponent extends CodFormSteps {
3713
3713
  }
3714
3714
  cleanComponent() {
3715
3715
  this.resetLocalStorage(this.controls);
3716
- this.codFormStepFour.reset();
3717
3716
  }
3718
3717
  }
3719
3718
  CodFormStepFourComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CodFormStepFourComponent, deps: [{ token: i1$1.FormBuilder }, { token: CalculateQuotesService }, { token: CommunicatorService }, { token: ParameterService }, { token: CodFormControls }, { token: CommercialService }], target: i0.ɵɵFactoryTarget.Component });
@@ -4019,8 +4018,8 @@ class CodFormComponent {
4019
4018
  this.isLoading = false;
4020
4019
  this.loaderMessage = '';
4021
4020
  Swal.fire({
4022
- title: 'Error Create COD',
4023
- text: err.error.text,
4021
+ title: 'Error in cod creation',
4022
+ text: err.message,
4024
4023
  icon: 'error'
4025
4024
  });
4026
4025
  }