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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix income vs expense #3443

Merged
merged 3 commits into from
May 1, 2024

Conversation

OlegWock
Copy link
Contributor

GitHub Issue (if applicable): #3425

Explanation of Bugfix/Feature/Modification:
I missed setting correct initial value for monthlyTotals in my recent PR where I migrated reports to TypeScript. This was causing exception if expenses and incomes were of different length (e.g. there were no expenses in one month, only income). This is now fixed.

I also removed a couple of TODOs (which were intended to be my working notes, rather than be actually pushed 馃槄). This PR is based on #3437, as those PR fixes issue which polluted console too much and was making debugging a bit miserable.

A HUGE THANKS goes to @willpoorman for helping with debugging this problem and actually figuring out what causes it.

@joshmadewell joshmadewell merged commit c04f2d6 into toolkit-for-ynab:main May 1, 2024
6 checks passed
HelloThisIsFlo pushed a commit to HelloThisIsFlo/toolkit-for-ynab that referenced this pull request May 6, 2024
* Fix pacing feature

* Fix income vs expense report on datasets of uneven length
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

2 participants