Fix walletDetails getHistory
This commit is contained in:
parent
954f770909
commit
5ec82cd8ef
3 changed files with 8 additions and 5 deletions
|
|
@ -118,10 +118,13 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
$scope.updateTxHistoryError = false;
|
||||
$scope.updatingTxHistoryProgress = 0;
|
||||
|
||||
var progressFn = function(txs) {
|
||||
$scope.updatingTxHistoryProgress = txs ? txs.length : 0;
|
||||
var progressFn = function(txs, newTxs) {
|
||||
$scope.updatingTxHistoryProgress = newTxs;
|
||||
$scope.completeTxHistory = txs;
|
||||
$scope.showHistory();
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
});
|
||||
};
|
||||
|
||||
$timeout(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue