Skip to content

A local-first personal finance app

fix creating rule from transaction (#3539)

Matt Fiddaman5064b06f2c82
diff --git a/packages/desktop-client/src/components/accounts/Account.tsx b/packages/desktop-client/src/components/accounts/Account.tsx
index 05e30623b7..9e23555b19 100644
--- a/packages/desktop-client/src/components/accounts/Account.tsx
+++ b/packages/desktop-client/src/components/accounts/Account.tsx
@@ -1190,7 +1190,7 @@ class AccountInternal extends PureComponent<
} satisfies RuleConditionEntity;
const rule = {
- stage: 'default',
+ stage: null,
conditionsOp: 'and',
conditions: [payeeCondition, amountCondition],
actions: [
diff --git a/upcoming-release-notes/3539.md b/upcoming-release-notes/3539.md
new file mode 100644
index 0000000000..6365563750
--- /dev/null
+++ b/upcoming-release-notes/3539.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [matt-fidd]
+---
+
+Fix error when creating a rule from an existing transaction