mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
make payeeName fall back to default if the custom mapped bank sync field is missing (#5460)
* payeeName should fallback if custom mapped field is empty * note
This commit is contained in:
@@ -407,7 +407,7 @@ async function normalizeBankSyncTransactions(transactions, acctId) {
|
||||
const mapping = mappings.get(trans.amount <= 0 ? 'payment' : 'deposit');
|
||||
|
||||
const date = trans[mapping.get('date')] ?? trans.date;
|
||||
const payeeName = trans[mapping.get('payee')];
|
||||
const payeeName = trans[mapping.get('payee')] ?? trans.payeeName;
|
||||
const notes = trans[mapping.get('notes')];
|
||||
|
||||
// Validate the date because we do some stuff with it. The db
|
||||
|
||||
6
upcoming-release-notes/5460.md
Normal file
6
upcoming-release-notes/5460.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [matt-fidd]
|
||||
---
|
||||
|
||||
Make payee fall back to default if the custom mapped field is missing
|
||||
Reference in New Issue
Block a user