Skip to content

A local-first personal finance app

Fix bug in rule transaction apply preventing amount overrides (#1976)

Julian Dominguez-Schatz0920bdc3fa47
diff --git a/packages/desktop-client/src/components/modals/EditRule.js b/packages/desktop-client/src/components/modals/EditRule.js
index 733d235d5f..1af0c6e29c 100644
--- a/packages/desktop-client/src/components/modals/EditRule.js
+++ b/packages/desktop-client/src/components/modals/EditRule.js
@@ -716,7 +716,7 @@ export default function EditRule({
function onApply() {
send('rule-apply-actions', {
transactionIds: [...selectedInst.items],
- actions,
+ actions: actions.map(unparse),
}).then(() => {
// This makes it refetch the transactions
setActions([...actions]);
diff --git a/upcoming-release-notes/1976.md b/upcoming-release-notes/1976.md
new file mode 100644
index 0000000000..ca2f74ed95
--- /dev/null
+++ b/upcoming-release-notes/1976.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [jfdoming]
+---
+
+Fix bug in rule transaction apply preventing amount overrides