Commit 5653992f authored by Jason Salyers's avatar Jason Salyers
Browse files

Merge branch 'jsalyers-fix-empty-history-array' into 'develop'

[JES] If no transfer history is found, return a single empty array instead

See merge request !90
parents 536afe5a fb3e3c7a
......@@ -112,12 +112,13 @@ async function getTransferHistory(account) {
account,
err
);
transfer_history = [];
}
}
}
if (transfer_history === null || transfer_history === undefined)
transfer_history = [[]];
transfer_history = [];
return transfer_history;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment