diff --git a/alcs-frontend/src/app/features/application/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts b/alcs-frontend/src/app/features/application/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts index 75efb8752a..1dd634cf28 100644 --- a/alcs-frontend/src/app/features/application/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts +++ b/alcs-frontend/src/app/features/application/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts @@ -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)); } diff --git a/alcs-frontend/src/app/features/notice-of-intent/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts b/alcs-frontend/src/app/features/notice-of-intent/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts index 0737a444b5..c84b559924 100644 --- a/alcs-frontend/src/app/features/notice-of-intent/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts +++ b/alcs-frontend/src/app/features/notice-of-intent/decision/decision-v2/decision-input/decision-conditions/decision-condition/decision-condition.component.ts @@ -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)); }