iptdevs-design-system 3.1.477 → 3.1.479

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.
@@ -6641,6 +6641,7 @@ class CodSelfManagedComponent {
6641
6641
  ngOnInit() {
6642
6642
  this.countInitialStep = 1;
6643
6643
  this.changeStep(this.currentStep);
6644
+ console.log('init.countInitialStep', this.countInitialStep);
6644
6645
  }
6645
6646
  ngOnDestroy() {
6646
6647
  if (this.subscription) {
@@ -6649,6 +6650,7 @@ class CodSelfManagedComponent {
6649
6650
  }
6650
6651
  changeStep(step) {
6651
6652
  this.currentStep = step;
6653
+ console.log('changeStep.countInitialStep', this.countInitialStep);
6652
6654
  const request = {
6653
6655
  currentStep: this.currentStep + 1,
6654
6656
  user_code: this.baseService.getUserCode(),
@@ -6657,8 +6659,11 @@ class CodSelfManagedComponent {
6657
6659
  };
6658
6660
  console.log(request);
6659
6661
  this.commercialService.updateControlStepsCodSelfManaged(request).subscribe((response) => {
6660
- this.countInitialStep = 0;
6661
6662
  console.log(response);
6663
+ this.countInitialStep = 0;
6664
+ console.log('response.countInitialStep', this.countInitialStep);
6665
+ // if (response.message.code == 1) {
6666
+ // }
6662
6667
  });
6663
6668
  }
6664
6669
  }