mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
[Bug] End of month cleanup error (#1750)
* check for null carryover * release note * simplify logic
This commit is contained in:
@@ -57,6 +57,10 @@ async function processCleanup(month: string): Promise<Notification> {
|
||||
[db_month, categoryId],
|
||||
);
|
||||
|
||||
if (carryover === null) {
|
||||
carryover = { carryover: 0 };
|
||||
}
|
||||
|
||||
if (
|
||||
balance < 0 &&
|
||||
Math.abs(balance) <= budgetAvailable &&
|
||||
|
||||
6
upcoming-release-notes/1750.md
Normal file
6
upcoming-release-notes/1750.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [shall0pass]
|
||||
---
|
||||
|
||||
End of month cleanup - fixed condition that caused an error with null carryover value
|
||||
Reference in New Issue
Block a user