mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Fix #3211
This commit is contained in:
2
public/v1/js/edit_transaction.js
vendored
2
public/v1/js/edit_transaction.js
vendored
File diff suppressed because one or more lines are too long
@@ -569,8 +569,8 @@
|
|||||||
|
|
||||||
// parse amount if has exactly one comma:
|
// parse amount if has exactly one comma:
|
||||||
// solves issues with some locales.
|
// solves issues with some locales.
|
||||||
if (1 === (row.amount.match(/\,/g) || []).length) {
|
if (1 === (String(row.amount).match(/\,/g) || []).length) {
|
||||||
row.amount = row.amount.replace(',', '.');
|
row.amount = String(row.amount).replace(',', '.');
|
||||||
}
|
}
|
||||||
|
|
||||||
currentArray =
|
currentArray =
|
||||||
|
Reference in New Issue
Block a user