fix popup

This commit is contained in:
Matias Alejo Garcia 2016-08-24 20:36:49 -03:00
parent 6955bb4bf3
commit 246f1927dc
No known key found for this signature in database
GPG Key ID: 02470DB551277AB3
1 changed files with 2 additions and 2 deletions

View File

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