Skip to content

Commit 2e1bcff

Browse files
committed
Remove spaces in amounts
1 parent c7a0752 commit 2e1bcff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/modal/transaction/csvImport.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ const transformToTransactions = () => {
332332
333333
break;
334334
case 2: // amount
335-
let amount = Number.parseFloat(data);
335+
let amount = Number.parseFloat(data.replaceAll(" ", ""));
336336
337337
if (Number.isNaN(amount))
338338
amount = unknownMap.value.get(type)[data];

0 commit comments

Comments
 (0)