Skip to content

A local-first personal finance app

Correctly fix schedule transaction payee (#1526)

Johannes Löthbergaf875ab035b2
diff --git a/packages/desktop-client/src/components/accounts/Account.js b/packages/desktop-client/src/components/accounts/Account.js
index d9607e8bee..7bc4852e0e 100644
--- a/packages/desktop-client/src/components/accounts/Account.js
+++ b/packages/desktop-client/src/components/accounts/Account.js
@@ -115,7 +115,7 @@ function AllTransactions({
date: schedule.next_date,
notes: scheduleData.statuses.get(schedule.id),
schedule: schedule.id,
- _inverse: accountId !== schedule._account,
+ _inverse: accountId ? accountId !== schedule._account : false,
}));
}, [schedules, accountId]);
diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.js b/packages/desktop-client/src/components/transactions/TransactionsTable.js
index 83bc864325..e34316b786 100644
--- a/packages/desktop-client/src/components/transactions/TransactionsTable.js
+++ b/packages/desktop-client/src/components/transactions/TransactionsTable.js
@@ -986,7 +986,7 @@ const Transaction = memo(function Transaction(props) {
valueStyle={valueStyle}
transaction={transaction}
payee={payee}
- transferAcct={showAccount ? null : transferAcct}
+ transferAcct={transferAcct}
importedPayee={importedPayee}
isPreview={isPreview}
onEdit={onEdit}
diff --git a/upcoming-release-notes/1379.md b/upcoming-release-notes/1526.md
similarity index 100%
rename from upcoming-release-notes/1379.md
rename to upcoming-release-notes/1526.md