Merge pull request #5788 from cmgustavo/bug/tx-details-02

Get tx after view loaded. If error, go back to home.
This commit is contained in:
Matias Alejo Garcia 2017-03-17 10:43:00 -03:00 committed by GitHub
commit 4c0da8c77e

View file

@ -11,7 +11,10 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
$scope.wallet = profileService.getWallet(data.stateParams.walletId);
$scope.color = $scope.wallet.color;
$scope.copayerId = $scope.wallet.credentials.copayerId;
$scope.isShared = $scope.wallet.credentials.n > 1;
$scope.isShared = $scope.wallet.credentials.n > 1;
});
$scope.$on("$ionicView.afterEnter", function(event) {
updateTx();
listeners = [