fix the bug that amount format could not be automatically detected when importing dsv file

This commit is contained in:
MaysWind
2025-07-20 13:09:26 +08:00
parent 8da4f65048
commit 53f101fb60
+1 -1
View File
@@ -228,7 +228,7 @@ export class ImportTransactionDataMapping {
}
public parseFileAutoDetectedAmountFormat(fileData: string[][] | undefined): string | undefined {
if (!fileData || !fileData.length || !this.isColumnMappingSet(ImportTransactionColumnType.TransactionTimezone)) {
if (!fileData || !fileData.length || !this.isColumnMappingSet(ImportTransactionColumnType.Amount)) {
return undefined;
}