From 7a4605be31dcfa6ca8ea6085cbf0cd6093c2c242 Mon Sep 17 00:00:00 2001 From: nlebovits Date: Wed, 13 Nov 2024 19:48:01 -0500 Subject: [PATCH] make sure land bank filter works --- src/components/Filters/Panels.tsx | 2 +- src/components/PropertyAccessOptionContainer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Filters/Panels.tsx b/src/components/Filters/Panels.tsx index 2073580a..583ee1c2 100644 --- a/src/components/Filters/Panels.tsx +++ b/src/components/Filters/Panels.tsx @@ -56,7 +56,7 @@ const panel_access_options: Record< ...access_options[PropertyAccess.LAND_BANK], alt_description: 'Properties available for discount prices from the Land Bank', - dimension: 'Land Bank', + dimension: 'Go through Land Bank', property: 'access_process', }, [PropertyAccess.CONSERVATORSHIP]: { diff --git a/src/components/PropertyAccessOptionContainer.tsx b/src/components/PropertyAccessOptionContainer.tsx index 686f071d..0d5ff3b5 100644 --- a/src/components/PropertyAccessOptionContainer.tsx +++ b/src/components/PropertyAccessOptionContainer.tsx @@ -27,7 +27,7 @@ const determineCardEnums = (property: any) => { unavailable.add(PropertyAccess.PRIVATE_LAND_USE); } - property.access_process === 'Land Bank' + property.access_process === 'Go through Land Bank' ? (best = PropertyAccess.LAND_BANK) : unavailable.add(PropertyAccess.LAND_BANK);