Skip to content

Commit

Permalink
[Goals]: Fix applying templates in tracking budget (#4010)
Browse files Browse the repository at this point in the history
* fix logic

* note
  • Loading branch information
youngcw authored Dec 22, 2024
1 parent 6cfb9d2 commit cde81da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loot-core/src/server/budget/goaltemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function processTemplate(
const isReflect = isReflectBudget();
const categoriesLong = await getCategories();
categoriesLong.forEach(c => {
if (!isReflect && !c.is_income) {
if (isReflect || !c.is_income) {
categories.push(c);
}
});
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/4010.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [youngcw]
---

Fix goal templates not applying in tracking budget

0 comments on commit cde81da

Please sign in to comment.