mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +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:
|
||||
// solves issues with some locales.
|
||||
if (1 === (row.amount.match(/\,/g) || []).length) {
|
||||
row.amount = row.amount.replace(',', '.');
|
||||
if (1 === (String(row.amount).match(/\,/g) || []).length) {
|
||||
row.amount = String(row.amount).replace(',', '.');
|
||||
}
|
||||
|
||||
currentArray =
|
||||
|
Reference in New Issue
Block a user