fix routes and params

This commit is contained in:
Javier 2016-10-22 17:43:05 -03:00
commit f7624bcc9b
5 changed files with 37 additions and 27 deletions

View file

@ -92,7 +92,10 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$scope.openTxModal = function(btx) {
$scope.btx = lodash.cloneDeep(btx);
$scope.walletId = $scope.wallet.id;
$state.go('tabs.wallet.tx-details', {tx: $scope.btx, wallet: $scope.wallet});
$state.transitionTo('tabs.wallet.tx-details', {
txid: $scope.btx.txid,
walletId: $scope.walletId
});
};
$scope.recreate = function() {