Get tx after view loaded. If error, go back to home.

This commit is contained in:
Gustavo Maximiliano Cortez 2017-03-17 10:39:58 -03:00
commit 490a707860
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

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 = [