Skip to content

Commit

Permalink
Merge pull request #3644 from bcgov/NDT-591-Total-non-indigenous-coun…
Browse files Browse the repository at this point in the history
…ts-on-Summary-Page-are-null-when-indigenous-counts-are-0

fix: return communities served for communities calc in template 9 dat…
  • Loading branch information
RRanath authored Oct 29, 2024
2 parents edb4f6f + 6579ea9 commit 445b47f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.203.2](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.203.1...v1.203.2) (2024-10-29)

### Bug Fixes

- return communities served for communities calc in template 9 data for summary ([2f854e0](https://github.com/bcgov/CONN-CCBC-portal/commit/2f854e0b4c2665c7e21a09bd188c80d675526ded))

## [1.203.1](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.203.0...v1.203.1) (2024-10-28)

### Bug Fixes
Expand Down
3 changes: 2 additions & 1 deletion app/lib/helpers/ccbcSummaryGenerateFormData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ const getFormDataFromApplication = (
?.nodes[0]?.jsonData?.communitiesToBeServed || 0) -
(applicationData?.applicationFormTemplate9DataByApplicationId
?.nodes[0]?.jsonData?.indigenousCommunitiesToBeServed || 0)
: null,
: applicationData?.applicationFormTemplate9DataByApplicationId
?.nodes[0]?.jsonData?.communitiesToBeServed,
indigenousCommunities:
applicationData?.applicationFormTemplate9DataByApplicationId?.nodes[0]
?.jsonData?.indigenousCommunitiesToBeServed,
Expand Down
1 change: 1 addition & 0 deletions db/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -717,3 +717,4 @@ tables/application_form_template_9_data 2024-09-25T22:50:17Z Rafael Solorzano <6
@1.202.2 2024-10-23T20:54:15Z CCBC Service Account <[email protected]> # release v1.202.2
@1.203.0 2024-10-25T16:54:48Z CCBC Service Account <[email protected]> # release v1.203.0
@1.203.1 2024-10-28T19:01:53Z CCBC Service Account <[email protected]> # release v1.203.1
@1.203.2 2024-10-29T17:37:47Z CCBC Service Account <[email protected]> # release v1.203.2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CONN-CCBC-portal",
"version": "1.203.1",
"version": "1.203.2",
"main": "index.js",
"repository": "https://github.com/bcgov/CONN-CCBC-portal.git",
"author": "Romer, Meherzad CITZ:EX <[email protected]>",
Expand Down

0 comments on commit 445b47f

Please sign in to comment.