Merge pull request #3380 from gabrielbazan7/fix/txHistory
undefined in localtxs array
This commit is contained in:
commit
46812b7eef
2 changed files with 3 additions and 4 deletions
|
|
@ -768,8 +768,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
} catch (ex) {
|
||||
$log.warn(ex);
|
||||
}
|
||||
|
||||
return cb(null, self.removeSoftConfirmedTx(localTxs));
|
||||
return cb(null, lodash.compact(self.removeSoftConfirmedTx(localTxs)));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -1019,7 +1018,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
return;
|
||||
}
|
||||
self.addressbook = ab;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
$rootScope.$on('Local/ClearHistory', function(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue