A local-first personal finance app
Show correct payee for scheduled transactions on budgeted accounts page (#1379)
Johannes Löthbergba6eb26e6e07
diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.js b/packages/desktop-client/src/components/transactions/TransactionsTable.jsindex 12a6f45fa7..0967a1f602 100644--- a/packages/desktop-client/src/components/transactions/TransactionsTable.js+++ b/packages/desktop-client/src/components/transactions/TransactionsTable.js@@ -393,10 +393,7 @@ function getPayeePretty(transaction, payee, transferAcct) {</div></View>);- } else if (payee && !payee.transfer_acct) {- // Check to make sure this isn't a transfer because in the rare- // occasion that the account has been deleted but the payee is- // still there, we don't want to show the name.+ } else if (payee) {return payee.name;} else if (payeeId && payeeId.startsWith('new:')) {return payeeId.slice('new:'.length);@@ -981,7 +978,7 @@ const Transaction = memo(function Transaction(props) {valueStyle={valueStyle}transaction={transaction}payee={payee}- transferAcct={transferAcct}+ transferAcct={showAccount ? null : transferAcct}importedPayee={importedPayee}isPreview={isPreview}onEdit={onEdit}diff --git a/upcoming-release-notes/1379.md b/upcoming-release-notes/1379.mdnew file mode 100644index 0000000000..575747e069--- /dev/null+++ b/upcoming-release-notes/1379.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [kyrias]+---++Show the correct payee of scheduled transactions on "For budget" account page.