Skip to content
Snippets Groups Projects
Unverified Commit 327887b8 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: (import) fix qfx import crash if input is malformed file (#3541)

Closes #3519
parent 47ef9168
No related branches found
No related tags found
No related merge requests found
......@@ -1021,7 +1021,7 @@ export function ImportTransactionsModal({ options }) {
setFilename(filename);
setFileType(filetype);
const { errors, transactions: parsedTransactions } =
const { errors, transactions: parsedTransactions = [] } =
await parseTransactions(filename, options);
let index = 0;
......
---
category: Bugfix
authors: [MatissJanis]
---
Fix import crashing if the QFX file is malformed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment