Skip to content

Commit

Permalink
change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
youngcw committed Feb 27, 2025
1 parent 398ada0 commit eb9a440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loot-core/src/server/budget/cleanup-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ async function processCleanup(month: string): Promise<Notification> {
}

const budgetAvailable = await getSheetValue(sheetName, `to-budget`);
if (budgetAvailable <= 0) {
if (budgetAvailable < 0) {
warnings.push('Global: No funds are available to reallocate.');
}

Expand Down

0 comments on commit eb9a440

Please sign in to comment.