Skip to content

Commit

Permalink
ALCS-1858 Remove single date patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarreta committed Dec 11, 2024
1 parent ecd2d60 commit e1bba2e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ export class DecisionConditionComponent implements OnInit, OnChanges {
description: this.data.description ?? null,
});

if (this.showSingleDateField && this.dates.length > 0 && this.dates[0].date) {
this.form.patchValue({ singleDate: moment(this.dates[0].date) });
}

this.form.valueChanges.subscribe(this.emitChanges.bind(this));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ export class DecisionConditionComponent implements OnInit, OnChanges {
description: this.data.description ?? null,
});

if (this.showSingleDateField && this.dates.length > 0 && this.dates[0].date) {
this.form.patchValue({ singleDate: moment(this.dates[0].date) });
}

this.form.valueChanges.subscribe(this.emitChanges.bind(this));
}

Expand Down

0 comments on commit e1bba2e

Please sign in to comment.