From 03f2cabc1863ae4053143fe8d1853d7da0960a54 Mon Sep 17 00:00:00 2001 From: youngcw Date: Sat, 19 Oct 2024 17:35:13 -0700 Subject: [PATCH] clean up accidental push (#3695) * clean up accidental commit * move --- packages/loot-core/src/server/budget/actions.ts | 8 ++++---- upcoming-release-notes/3695.md | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 upcoming-release-notes/3695.md diff --git a/packages/loot-core/src/server/budget/actions.ts b/packages/loot-core/src/server/budget/actions.ts index 0f5d68ddadb..e0bfbf05c14 100644 --- a/packages/loot-core/src/server/budget/actions.ts +++ b/packages/loot-core/src/server/budget/actions.ts @@ -31,10 +31,10 @@ function getBudgetTable(): string { } export function isReflectBudget(): boolean { - const budgetType = - db.firstSync(`SELECT value FROM preferences WHERE id = ?`, [ - 'budgetType', - ]); + const budgetType = db.firstSync( + `SELECT value FROM preferences WHERE id = ?`, + ['budgetType'], + ); const val = budgetType ? budgetType.value : 'rollover'; return val === 'report'; } diff --git a/upcoming-release-notes/3695.md b/upcoming-release-notes/3695.md new file mode 100644 index 00000000000..9ca75e2afe5 --- /dev/null +++ b/upcoming-release-notes/3695.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [youngcw] +--- + +Fix broken budget copy in tracking budget