Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(HostDashboardReports): Include children in host balance #10169

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gustavlrsn
Copy link
Member

@gustavlrsn gustavlrsn commented Mar 11, 2024

As opencollective/opencollective-api#9906 changes the totalMoneyManaged stats resolver to include the host children balance, we should include children when getting the host balance in HostDashboardReports.

This will update the host balance to be correct (including host events/projects), and maintain the (correct) number for "hosted collectives" balance, that is computed in the frontend as totalMoneyManaged - hostBalance

Copy link

vercel bot commented Mar 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
opencollective-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:34pm
opencollective-styleguide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 6:34pm

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gustavlrsn and the rest of your teammates on Graphite Graphite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant