Skip to content

Fix: aggregate project type statistics on partnership page#158

Merged
prabinoid merged 1 commit intonaxa-develop-latestfrom
fix/7201-partnership-page-metrics-not-showing
Apr 7, 2026
Merged

Fix: aggregate project type statistics on partnership page#158
prabinoid merged 1 commit intonaxa-develop-latestfrom
fix/7201-partnership-page-metrics-not-showing

Conversation

@suzit-10
Copy link
Copy Markdown

@suzit-10 suzit-10 commented Apr 7, 2026

This PR refactors the metric aggregation logic in the ProjectTypeAreaStats component to fix an issue where partnership page metrics were not displaying correctly.

Key changes include:

Aggregating totalcontributions and totalArea values before formatting.
Expanding the project type mapping to include aliases such as find, validate, and compare.
Ensuring that getShortNumber is applied only after all relevant statistics have been aggregated.

@prabinoid prabinoid merged commit a09a4e0 into naxa-develop-latest Apr 7, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants