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: Recurring Overview page 500 error when empty data #17

Merged

Conversation

chinmaypurav
Copy link
Owner

Added explicit initial values to array_reduce calls in recurring income and expense calculations. This ensures proper handling of empty arrays and prevents potential issues with undefined carry values.

Added explicit initial values to array_reduce calls in recurring income and expense calculations. This ensures proper handling of empty arrays and prevents potential issues with undefined carry values.
@chinmaypurav chinmaypurav added the bug Something isn't working label Jan 11, 2025
@chinmaypurav chinmaypurav self-assigned this Jan 11, 2025
@chinmaypurav chinmaypurav merged commit 3ae65eb into main Jan 11, 2025
3 checks passed
@chinmaypurav chinmaypurav deleted the fix/recurring-overview-error-when-collection-empty branch January 11, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant