Skip to content

Commit

Permalink
ccfri 3444 mapping for Ever applied for CCOF question incorrectly loa…
Browse files Browse the repository at this point in the history
…ding
  • Loading branch information
jenbeckett committed Dec 18, 2023
1 parent 31b0998 commit fef15b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/components/facility.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit fef15b7

Please sign in to comment.