From 56d9f9f034e2d82e7446a1a8479d9de4e42b2943 Mon Sep 17 00:00:00 2001 From: Felipe Barreta Date: Wed, 11 Dec 2024 16:10:20 -0800 Subject: [PATCH] ALCS-1858 Cleanup --- .../decision/conditions/condition/condition.component.ts | 5 +---- .../decision/conditions/condition/condition.component.ts | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/alcs-frontend/src/app/features/application/decision/conditions/condition/condition.component.ts b/alcs-frontend/src/app/features/application/decision/conditions/condition/condition.component.ts index 69d5757aad..2de3702011 100644 --- a/alcs-frontend/src/app/features/application/decision/conditions/condition/condition.component.ts +++ b/alcs-frontend/src/app/features/application/decision/conditions/condition/condition.component.ts @@ -54,7 +54,6 @@ export class ConditionComponent implements OnInit, AfterViewInit { showSecurityAmountField = false; singleDateFormated: string | undefined = undefined; stringIndex: string = ''; - today!: number; CONDITION_STATUS = CONDITION_STATUS; @@ -68,9 +67,7 @@ export class ConditionComponent implements OnInit, AfterViewInit { private conditionService: ApplicationDecisionConditionService, private conditionLotService: ApplicationDecisionComponentToConditionLotService, private decisionService: ApplicationDecisionV2Service, - ) { - this.today = moment().startOf('day').toDate().getTime(); - } + ) {} async ngOnInit() { this.stringIndex = countToString(this.index); diff --git a/alcs-frontend/src/app/features/notice-of-intent/decision/conditions/condition/condition.component.ts b/alcs-frontend/src/app/features/notice-of-intent/decision/conditions/condition/condition.component.ts index a512f3d09c..deb7f347e4 100644 --- a/alcs-frontend/src/app/features/notice-of-intent/decision/conditions/condition/condition.component.ts +++ b/alcs-frontend/src/app/features/notice-of-intent/decision/conditions/condition/condition.component.ts @@ -52,11 +52,8 @@ export class ConditionComponent implements OnInit, AfterViewInit { isReadMoreVisible = false; conditionStatus: string = ''; stringIndex: string = ''; - today!: number; - constructor(private conditionService: NoticeOfIntentDecisionConditionService, private decisionService: NoticeOfIntentDecisionV2Service,) { - this.today = moment().startOf('day').toDate().getTime(); - } + constructor(private conditionService: NoticeOfIntentDecisionConditionService, private decisionService: NoticeOfIntentDecisionV2Service,) {} async ngOnInit() { this.stringIndex = countToString(this.index);