mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
[Bugfix] Goals: Database entry (#2281)
* fix database insertion * dbMonth format * release note
This commit is contained in:
@@ -127,7 +127,9 @@ export function setGoal({ month, category, goal }): Promise<void> {
|
||||
});
|
||||
}
|
||||
return db.insert(table, {
|
||||
id: month,
|
||||
id: `${dbMonth(month)}-${category}`,
|
||||
month: dbMonth(month),
|
||||
category,
|
||||
goal,
|
||||
});
|
||||
}
|
||||
|
||||
6
upcoming-release-notes/2281.md
Normal file
6
upcoming-release-notes/2281.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [shall0pass]
|
||||
---
|
||||
|
||||
Fix database entry when applying goal templates
|
||||
Reference in New Issue
Block a user