vcomply-workflow-engine 3.0.269 → 3.0.270

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.
@@ -12531,7 +12531,6 @@ class FrequencyLifecycleComponent {
12531
12531
  this.startDateUnix = Date.now();
12532
12532
  // All input variable
12533
12533
  this.startDate = new Date();
12534
- this.endDate = moment(new Date(this.startDate).getTime() + 86400000);
12535
12534
  this.occurrance = 10;
12536
12535
  this.selectedLifecycleType = 2; // 0 = End by , End After, 2 = perpetual
12537
12536
  this.id = 0;
@@ -12540,6 +12539,7 @@ class FrequencyLifecycleComponent {
12540
12539
  }
12541
12540
  ngOnInit() {
12542
12541
  this.textDetails = lifecycleText[this.mode];
12542
+ this.endDate = moment(new Date(this.startDate).getTime() + 86400000);
12543
12543
  this.startDateConfig = Object.assign({
12544
12544
  ...this.frequencyService.dateConfig,
12545
12545
  });