From 2d479ff3ea4104048a22841594e0de30416a92d4 Mon Sep 17 00:00:00 2001 From: Jordan Witte Date: Wed, 15 Nov 2023 15:18:37 -0800 Subject: [PATCH] Match backend change to properly detect partially eligible case --- .../src/components/RecordSearch/Record/RecordSummary/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/RecordSearch/Record/RecordSummary/index.tsx b/src/frontend/src/components/RecordSearch/Record/RecordSummary/index.tsx index 12bdc571e..502247cb5 100644 --- a/src/frontend/src/components/RecordSearch/Record/RecordSummary/index.tsx +++ b/src/frontend/src/components/RecordSearch/Record/RecordSummary/index.tsx @@ -34,7 +34,7 @@ export default function RecordSummary() { (x) => x[0] === "Eligible Now" ); const chargesEligibleOnIneligible = groupedCharges?.filter( - (x) => x[0] === "Eligible on case with Ineligible charge" + (x) => x[0] === "Eligible Now on case with Ineligible charge" ); if ( (chargesEligibleNow[0] && chargesEligibleNow[0][1].length > 0) ||