From e8889a024259079a6b5a8f3702db9e4c06c8dd15 Mon Sep 17 00:00:00 2001 From: Le Date: Tue, 10 Oct 2023 13:08:44 -0700 Subject: [PATCH] CCFRI-2602 - Add MTFI Statuses to Landing page Facility Cards (fix code smell) --- frontend/src/components/LandingPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/LandingPage.vue b/frontend/src/components/LandingPage.vue index 5c40d0e41..991e187f7 100644 --- a/frontend/src/components/LandingPage.vue +++ b/frontend/src/components/LandingPage.vue @@ -507,7 +507,7 @@ export default { return (this.applicationStatus === 'SUBMITTED' && this.unlockRFIList.includes(ccfriApplicationId)); }, getLastSubmittedMTFIChangeRequest(facilityId) { - let lastMTFIChangeRequest = undefined; + let lastMTFIChangeRequest; if (this.mtfiChangeRequestList?.length > 0) { let mtfiChangeRequestListForFacility = this.mtfiChangeRequestList?.filter(item => { if (item.firstSubmissionDate) {