mirror of https://github.com/BTCPrivate/copay.git
fix empty csv
This commit is contained in:
parent
14207dc771
commit
43194559d2
|
@ -51,7 +51,7 @@ angular.module('copayApp.controllers').controller('preferencesHistory',
|
|||
|
||||
$log.debug('Generating CSV from History');
|
||||
getHistory(function(err, txs) {
|
||||
if (err || !txs || !txs[0]) {
|
||||
if (err || !txs) {
|
||||
$log.warn('Failed to generate CSV:', err);
|
||||
if (cb) return cb(err);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue