Merge pull request #1648 from cmgustavo/bug/01-history

Bug/01 history
This commit is contained in:
Matias Alejo Garcia 2014-10-31 14:05:10 -03:00
commit d8c9994845
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,7 @@ angular.module('copayApp.controllers').controller('HistoryController',
_.each(res, function (r) {
r.ts = r.minedTs || r.sentTs;
if (r.action === 'sent') {
if (r.action === 'sent' && r.peerActions) {
r.actionList = controllerUtils.getActionList(r.peerActions);
}
});

View File

@ -10,7 +10,6 @@ angular.module('copayApp.controllers').controller('HomeWalletController',
if ($rootScope.addrInfos) {
$scope.address = $rootScope.addrInfos[0];
console.log('$scope.address', $scope.address);
}
}