diff --git a/packages/desktop-client/src/components/ManageRules.tsx b/packages/desktop-client/src/components/ManageRules.tsx index a5c68ac6f16..b7b5f69438c 100644 --- a/packages/desktop-client/src/components/ManageRules.tsx +++ b/packages/desktop-client/src/components/ManageRules.tsx @@ -35,7 +35,11 @@ import { RulesList } from './rules/RulesList'; import { SchedulesQuery } from './rules/SchedulesQuery'; import { SimpleTable } from './rules/SimpleTable'; -function mapValue(field, value, { payees, categories, accounts }) { +function mapValue( + field, + value, + { payees = [], categories = [], accounts = [] }, +) { if (!value) return ''; let object = null; diff --git a/upcoming-release-notes/3498.md b/upcoming-release-notes/3498.md new file mode 100644 index 00000000000..e14d239550f --- /dev/null +++ b/upcoming-release-notes/3498.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +e2e: improve rules test stability.