From fef15b746fd5a6cdd9461e852a404b3aa1ab75da Mon Sep 17 00:00:00 2001 From: Jen Beckett <115109120+jenbeckett@users.noreply.github.com> Date: Mon, 18 Dec 2023 12:49:09 -0800 Subject: [PATCH] ccfri 3444 mapping for Ever applied for CCOF question incorrectly loading --- backend/src/components/facility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/components/facility.js b/backend/src/components/facility.js index 386288ad..46844ba8 100644 --- a/backend/src/components/facility.js +++ b/backend/src/components/facility.js @@ -62,9 +62,9 @@ function mapFacilityObjectForFront(data) { let obj = new MappableObjectForFront(data, FacilityMappings).toJSON(); //TODO: map this if it is returned from dynamics - if (data.ccof_everreceivedfundingundertheccofprogram === 100000000) { + if (data.ccof_everreceivedfundingundertheccofprogram === 100000001) { obj.hasReceivedFunding = 'no'; - } else if (data.ccof_everreceivedfundingundertheccofprogram === 100000001) { + } else if (data.ccof_everreceivedfundingundertheccofprogram === 100000000) { obj.hasReceivedFunding = 'yes'; } else if (data.ccof_everreceivedfundingundertheccofprogram === 100000002) { obj.hasReceivedFunding = 'yesFacility';