fix popup

This commit is contained in:
Matias Alejo Garcia 2016-08-24 20:36:49 -03:00
commit 246f1927dc
No known key found for this signature in database
GPG key ID: 02470DB551277AB3

View file

@ -204,10 +204,10 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$scope.updateAll(function() { $scope.updateAll(function() {
if ($stateParams.txid) { if ($stateParams.txid) {
var txp = lodash.find($scope.completeTxHistory, { var tx = lodash.find($scope.completeTxHistory, {
txid: $stateParams.txid txid: $stateParams.txid
}); });
if (txp) { if (tx) {
$scope.openTxModal(tx); $scope.openTxModal(tx);
} else { } else {
$ionicPopup.alert({ $ionicPopup.alert({