Skip to content

A local-first personal finance app

Add goal info to the prewarm list (#3514)

youngcw8f725c7911ff
diff --git a/packages/loot-core/src/server/main.ts b/packages/loot-core/src/server/main.ts
index 9abfd5cd96..c510854948 100644
--- a/packages/loot-core/src/server/main.ts
+++ b/packages/loot-core/src/server/main.ts
@@ -218,6 +218,8 @@ handlers['envelope-budget-month'] = async function ({ month }) {
value(`sum-amount-${cat.id}`),
value(`leftover-${cat.id}`),
value(`carryover-${cat.id}`),
+ value(`goal-${cat.id}`),
+ value(`long-goal-${cat.id}`),
]);
}
}
@@ -257,6 +259,8 @@ handlers['tracking-budget-month'] = async function ({ month }) {
value(`budget-${cat.id}`),
value(`sum-amount-${cat.id}`),
value(`leftover-${cat.id}`),
+ value(`goal-${cat.id}`),
+ value(`long-goal-${cat.id}`),
]);
if (!group.is_income) {
diff --git a/upcoming-release-notes/3514.md b/upcoming-release-notes/3514.md
new file mode 100644
index 0000000000..23e3c759f5
--- /dev/null
+++ b/upcoming-release-notes/3514.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [youngcw]
+---
+
+Add category goal info to the budget prewarm list for faster loading of indicator colors.