fix: Save completely allocated budget #1811

Merged
M123-dev merged 1 commits from patch-1 into main 2025-02-06 02:20:19 +08:00
M123-dev commented 2025-02-06 01:39:37 +08:00 (Migrated from github.com)

I noticed that when I completely budgeted I couldn't save the budget.

Previously, the logic only allowed positive values, which caused issues when handling fully allocated budgets or edge cases where no funds were left to distribute.

I noticed that when I completely budgeted I couldn't save the budget. Previously, the logic only allowed positive values, which caused issues when handling fully allocated budgets or edge cases where no funds were left to distribute.
zachgoll commented 2025-02-06 01:43:38 +08:00 (Migrated from github.com)

@M123-dev nice catch!

@M123-dev nice catch!
Sign in to join this conversation.