mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-28 06:15:39 +00:00
This commit is contained in:
@@ -652,7 +652,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// set foreign currency info:
|
// set foreign currency info:
|
||||||
if (row.foreign_amount.amount.toString() !== '' && parseFloat(row.foreign_amount.amount) !== .00) {
|
if (typeof row.foreign_amount.amount !== 'undefined' && row.foreign_amount.amount.toString() !== '' && parseFloat(row.foreign_amount.amount) !== .00) {
|
||||||
foreignAmount = row.foreign_amount.amount;
|
foreignAmount = row.foreign_amount.amount;
|
||||||
foreignCurrency = row.foreign_amount.currency_id;
|
foreignCurrency = row.foreign_amount.currency_id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user