civictechindex / CTI-website-frontend

Join a worldwide movement to catalog 
every open source 
civic tech project.
https://civictechindex.org
MIT License
30 stars 30 forks source link

Fix individual org page not showing projects (#1113) #1117

Closed bruceplai closed 2 years ago

bruceplai commented 2 years ago

Closes #1113 Closes #1115

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 36f49e63 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 83.3% (50% is the threshold).

This pull request will bring the total coverage in the repository to 80.9% (-1.0% change).

View more on Code Climate.

fyliu commented 2 years ago

Looks like the 4 requests for index contributor projects is now reduced to 1. The code for buffalo page is now showing the correct project.

I see the contributing project is showing up in the code for buffalo page, so that works.

Is there some way to reduce the duplicate calls to the backend?

Before: main branch Screenshot from 2022-01-10 15-00-16

After: indv-org-1113 Screenshot from 2022-01-10 15-01-29