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

@ -66,7 +66,10 @@ angular.module('copayApp.controllers').controller('activityController',
$scope.wallet = wallet;
$scope.btx = lodash.cloneDeep(tx);
$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
});
walletService.getTxNote(wallet, n.txid, function(err, note) {
if (err) $log.warn('Could not fetch transaction note: ' + err);