From ff18d95b242bbd0c269db7794d04d6dea61f64c7 Mon Sep 17 00:00:00 2001 From: youngcw Date: Wed, 18 Dec 2024 18:28:34 -0700 Subject: [PATCH 1/2] fix logic --- packages/loot-core/src/server/budget/goaltemplates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/loot-core/src/server/budget/goaltemplates.ts b/packages/loot-core/src/server/budget/goaltemplates.ts index f10cd35fa80..9e4ba9e9251 100644 --- a/packages/loot-core/src/server/budget/goaltemplates.ts +++ b/packages/loot-core/src/server/budget/goaltemplates.ts @@ -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); } }); From c0ff80c0375bdd0be975cee29cb9649be96eaf8e Mon Sep 17 00:00:00 2001 From: youngcw Date: Wed, 18 Dec 2024 18:32:12 -0700 Subject: [PATCH 2/2] note --- upcoming-release-notes/4010.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 upcoming-release-notes/4010.md diff --git a/upcoming-release-notes/4010.md b/upcoming-release-notes/4010.md new file mode 100644 index 00000000000..a4809b9b956 --- /dev/null +++ b/upcoming-release-notes/4010.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [youngcw] +--- + +Fix goal templates not applying in tracking budget