Bug fixes UI from walletDetails

This commit is contained in:
Gustavo Maximiliano Cortez 2017-08-30 14:52:30 -03:00
commit bf0f5f451a
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 83 additions and 136 deletions

View file

@ -156,9 +156,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
var updateTxHistory = function(cb) {
if (!cb) cb = function() {};
if ($scope.updatingTxHistory) return;
$scope.updatingTxHistory = true;
$scope.updateTxHistoryError = false;
$scope.updatingTxHistoryProgress = 0;
@ -358,6 +356,8 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
if (!$scope.wallet) return;
$scope.requiresMultipleSignatures = $scope.wallet.credentials.m > 1;
$scope.updatingTxHistory = true;
addressbookService.list(function(err, ab) {
if (err) $log.error(err);
$scope.addressbook = ab || {};